Hello,<br>I am a cmake-beginner and I want to "translate" my old project for use with cmake:<br>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?<br>
2) Are there constants like "Windows" "Unix" "Linux", so the compiling of my project could react depending on the system?<br> <br>Sorry for these beginner-questions, but I did not find these solutions on the website...<br>
<br>Thanks,<br>Stephan<br clear="all"><br>