[CMake] cmake exception
Alexander Ivash
alexander.ivash at psa-software.com
Thu Mar 15 10:45:43 EST 2007
Hello, cmake.
The following sample from cmakelists.txt causes termination of cmake
on win32. I run "cmake -D "CROSSCOMPILE=TRUE" -D "TOOL=diab" -D
"CPU=SimNT" -D "UGL_INCLUDE=D:/WindRiver/components/windml-4.0/h" -D "VXWORKS_INCLUDE=D:/WindRiver/vxworks-6.1/target/h" -G "Unix Makefiles" ../../../"
if(DEFINED CROSSCOMPILE)
set(ENV{PATH} "$ENV{PATH};${WIND_RIVER_DIAB_DIR}")
set(ENV{PATH} "$ENV{PATH};${WIND_RIVER_DIR}/vxworks-6.1/host/x86-win32/bin")
set(CMAKE_MAKE_PROGRAM "make")
set(CMAKE_CXX_COMPILER "dcc")
#set(CMAKE_COMPILER_IS_GNUCXX 1)
set(CMAKE_C_COMPILER "dcc")
set(CMAKE_AR "ar")
elseif(DEFINED CROSSCOMPILE)
endif(DEFINED CROSSCOMPILE)
What I'm doing wrong?
--
Best regards,
Alexander mailto:alexander.ivash at psa-software.com
More information about the CMake
mailing list