2009/4/14 Andreas Pokorny <[email protected]>: > [...] > > Configuring our project fails during the CMakeTestCCompiler.cmake > tests, because it tries to execute the generated project files with > VCExpress wich has no SDK configured - and I doubt that it supports > multiple SDKs at all. I am investigating that right now.
Changing the order in which CMakeVS8FindMake and VS9 respectively, search for devenv and VCExpress fixed the issue. Before I stopped for today I also discovered that there is a way to magically set the UNDER_CE macro depending on the SDK used. For NMake Makefiles I did that depending on the given CMAKE_SYSTEM_VERSION. I will try to add that tomorrow. As far as I understand, with the new generators for 2005 and 2008, cmake will create project files for multiple cross compilation targets at once? So if one has a SH4 and a ARMV4 CE SDK installed, we would get a visual studio project that can be switched between these two configurations (times the release/debug configurations), but there would be only a single execution of the CMakeLists.txts with a probably invalid set of CMAKE_SYSTEM_* variables. So if a project for example modifies the set of source files for a target, or sets its own set of platform describing cmake variables based on the given CMAKE_* variables, we would break that project when the new generators are used? kind regards, Andreas Pokorny _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
