[CMake] LIBRARY_OUTPUT_PATH
Eric NOULARD
eric.noulard at gmail.com
Thu Apr 10 10:22:35 EDT 2008
Le Thu, 10 Apr 2008 16:00:30 +0200,
Matthias Riechmann <riechmann at ira.uka.de> a écrit :
> Hi everybody,
>
> I'm using the following commands to set the output directories of
> libraries and executables to the "bin" directory of my build path.
> But cmake always tells me that LIBRARY_OUTPUT_PATH and
> EXECUTABLE_OUTPUT_PATH are empty:
>
> SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
> SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
>
> Does anybody have an idea why?
Could you post an more complete excerpt of your main CMakeLists.txt
don't you miss a
PROJECT(something)
?
More information about the CMake
mailing list