[CMake] CMAKE_SYSTEM_PROCESSOR question
Alexander Neundorf
a.neundorf-work at gmx.net
Mon Nov 12 12:22:30 EST 2007
On Friday 09 November 2007, Félix C. Morency wrote:
> Hi,
>
> I'm using ${CMAKE_SYSTEM_PROCESSOR} in my cmake configure script but
> when I call the script with CTest (ctest -S ...), it complains that
> this variable is empty. Is there any way to override this ?
The variable from the cmake files are not automatically available in the ctest
scripts.
ctest reads some config files when it starts, maybe you can use
configure_file() to write that value in one of these files.
Alex
More information about the CMake
mailing list