Thanks a lot! But the name CONFIGURE_FILE suggest it happens before the build. Is that so? I need to copy lib files after build!
-Regards Martin L Martin L, Software Engineer / Architect (see also www.doxys.org) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Noulard Sent: 20. november 2006 19:29 To: CMake ML Subject: Re: [CMake] Simple file copy CONFIGURE_FILE(InputFile OutputFile COPYONLY) 2006/11/20, Martin Lütken <[EMAIL PROTECTED]>: > 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: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of J.D. > Yamokoski > Sent: 20. november 2006 15:53 > To: cmake@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@cmake.org > http://www.cmake.org/mailman/listinfo/cmake > _______________________________________________ > CMake mailing list > CMake@cmake.org > http://www.cmake.org/mailman/listinfo/cmake > -- Erk _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake