[CMake] Command line cmake not picking up variable that gets picked up in the GUI
katie outram
katie.outram at gmail.com
Thu Nov 29 15:44:09 EST 2012
I am trying to automate my build process and before going down this path, I
set up findMYCODE script that requires a variable CODE_BUILD_DIR that the
user defines. This variable is the build directory for another code base
that my current code base is dependent on. When I run CMAKE in the gui,
and define the variable, the find script locates the necessary path/items
and this value is populated in the CMakeCache file. In the CMakeCache
file my variable is listed as
CODE_BUILD_DIR:PATH=C:/builddir/Win64/VC10/bin/Release
However ,when I go to the command line and try to pass the needed
build parameter via the command line, my value is not getting picked up and
so my solution does not get generated. In order to get my solution I must
have this variable defined.
More information about the CMake
mailing list