[CMake] documentation for important cmake variables
Alexander Neundorf
a.neundorf-work at gmx.net
Fri May 13 05:22:31 EDT 2005
Hi Filipe,
> Von: Filipe Sousa <filipe at ipb.pt>
...
> > > CMAKE_DEBUG_POSTFIX
> I haven't use this before
>
> > > LIBRARY_OUTPUT_PATH
> Output directory for all libraries
>
> > > EXECUTABLE_OUTPUT_PATH
> Output directoru for all executables
I thought both would be CMAKE_CURRENT_BINARY_DIR ?
> > > BUILD_SHARED_LIBS
> When this variable is set, ADD_LIBRARY() by default builds shared
> libraries
>
> > > CMAKE_BUILD_TYPE
> If you set "my_cool_var" cmake is going to use
CMAKE_CXX_FLAGS_MY_COOL_VAR
> SET(CMAKE_CXX_FLAGS_MY_COOL_VAR "-O6")
Interesting.
> > > CMAKE_MODULE_PATH
> To tell cmake where to find scripts in first place
> SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
So it first looks in ${CMAKE_ROOT}/Modules/ and then in
${CMAKE_MODULE_PATH} ?
> > I don't really know these variables. Please get a login and add them
> > to the wiki :-)
> I will, when I have more time
It's really easy, doesn't take more time than writing this email :-)
Bye
Alex
--
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
More information about the CMake
mailing list