Hello, I am a cmake-beginner and I want to "translate" my old project for use with cmake: 1) I brought some constants with the preprocessor from the Makefile into my sourcecode (e.g.: g++ -Dconstant=10 main.cpp). How do I do something like this with cmake? 2) Are there constants like "Windows" "Unix" "Linux", so the compiling of my project could react depending on the system?
Sorry for these beginner-questions, but I did not find these solutions on the website... Thanks, Stephan
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
