[CMake] Newbie question, building the exe to a directory

Jack Kelly endgame.dos at gmail.com
Sun Sep 2 18:12:47 EDT 2007


Pingu wrote:
> All I'm asking for is a way to tell the compiler (VS8) to build the exe 
> in a certain folder as opposed to the build folder where the project 
> files are located. It really doesn't seem like it'd be that hard, but I 
> really don't understand CMake all that well right now.

You should be able to do this by overriding EXECUTABLE_OUTPUT_PATH. Have 
  a look at http://www.cmake.org/Wiki/CMake_Useful_Variables .

-- Jack


More information about the CMake mailing list