[CMake] Changing PreprocessorDefinitions
Michael Andronov
michael_andronov at sd-kyber.com
Thu Apr 10 11:23:53 EDT 2008
Hi,
Let me explain my question briefly:
1. I'm trying to write the CMakeLists.txt, which will generate a proper
project for Visual Studio .net.
2. Within my CMakeLists.txt, I set the variable:
SET (COMPILE_FLAGS "/W3 /nologo /c /Wp64 /ZI /Gd /TP ")
3. My expectation is that above variable will be 'translated' into compiler
flags within Visual Studio;
4. However, the actual flags ( PreprocessorDefinitions) contains some
additional options like:
POSIX,IA32,DEBUG
And those flags are `killing` me.
5. My questions are:
- where those `additional` options are coming from?
- is there any way to get rid of them/to reconfigure them?
Thank you very much for your kind attention to this matter.
Michael.
P.S> Please, accept my apologies, if the question has been asked and
answered already. I made a search within 'Mastering CMake', and Web,
but failed to find the answer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080410/3b43b58b/attachment.htm>
More information about the CMake
mailing list