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

Hendrik Sattler post at hendrik-sattler.de
Sun Sep 2 18:42:53 EDT 2007


Am Montag 03 September 2007 00:12 schrieb Jack Kelly:
> 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 .

And maybe ccmake / CMAkeSetup should also be noted, here. They show this 
variable with a short help text.

HS


More information about the CMake mailing list