[CMake] Simple file copy

Martin Lütken mlu at danware.dk
Mon Nov 20 13:09:01 EST 2006


Is it possible to simply copy files in cmake ?
Or do I need to make a custom command?

-Martin L 


Martin L, Software Engineer / Architect (see also www.doxys.org)

-----Original Message-----
From: cmake-bounces+mlu=danware.dk at cmake.org [mailto:cmake-bounces+mlu=danware.dk at cmake.org] On Behalf Of J.D. Yamokoski
Sent: 20. november 2006 15:53
To: cmake at cmake.org
Subject: [CMake] Problem with Debug target options in VS8

Greetings,

First I just want to say that I am a new cmake user and I am loving it! 
Great stuff!

On to my issue, I apologize if this is a known issue or posted before, but I have had some trouble with with Cmake and VS8. The error I get is that cmake generates two incompatible compiler options for the Debug target of a certain open source library. Specifically, VS complains:

cl : Command line error D8016 : '/O2' and '/RTC1' command-line options are incompatible

I know what those options are and why they are incompatible but what I don't know is whether this is a cmake problem or an issue with this project's cmake files. I have already talked to the developers of the library I am trying to compile. They state that they "only ever set CMAKE_BUILD_TYPE to 'Debug' for Windows but certainly don't set any flags anywhere".

For the time being, I have circumvented the problem by changing my target to a Release build. But I would like to find out how to turn off code optimization for the Debug build.

Best regards,

J.D. Yamokoski
_______________________________________________
CMake mailing list
CMake at cmake.org
http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list