[CMake] Multiple executables per project?

2012-10-28 Thread Rui Maciel
as I never used CMake to pull this off I don't even know if it is possible. So, does anyone have any experience using CMake to set a project with multiple executables sharing commong libraries? If it is possible what's the best way to pull this off? Thanks in advance, Rui Maciel

Re: [CMake] A way to set default compiler, etc.?

2012-09-20 Thread Rui Maciel
es so I don't have to? Have you tried adding CMAKE_FORCE_C_COMPILER() AND CMAKE_FORCE_CXX_COMPILER() macros to your CMakeLists.txt ? http://www.cmake.org/cmake/help/v2.8.8/cmake.html#module:CMakeForceCompiler Hope this helps, Rui Maciel -- Powered by www.kitware.com Visit other Ki

[CMake] Check if a command exists?

2012-09-03 Thread Rui Maciel
at it checks if a tool/program/command is present in the build system? If there is a way to run that check, can anyone provide an example? Thanks in advance, Rui Maciel -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource