2008/3/13, Olivier Tournaire <olitour at gmail.com>: > Hi all, > > I would like to know how can I set the output directory in a > CMakeLists.txt. Any idea ? Look here http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees or EXECUTABLE_OUTPUT_PATH LIBRARY_OUTPUT_PATH in http://www.cmake.org/Wiki/CMake_Useful_Variables -- Erk