I have two different version of my program: one that runs in simulation mode, and the other that runs in "real" mode. Right now I just select which I want using an option -DEMULATION_MODE=ON or -DEMULATION_MODE=OFF. The flag is checked later and generates an installer (NSIS) that has -emul or -real at the end so I know which I'm installing.
My question is whether I can overload the install target to "install/real" and "install/emul" with "install" just pointing to emul as a safe default. Additionally I'd like to be able to setup NSIS so that when I install, I can select which version is installed at runtime there. Is all or any of this possible? -- Shane _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
