[CMake] Native build system invocation
Roman Yakovenko
roman.yakovenko at gmail.com
Tue Dec 26 00:59:52 EST 2006
On 12/26/06, Thompson, David C <dcthomp at sandia.gov> wrote:
> I don't know that I would advise what you're trying to do,
> but if you insist :-)
I will be glad to know other possible solutions :-)
> you might be interested in using
> the value of CMAKE_GENERATOR. There's a list of the values
> it takes on, as well as some information about scripts that
> Kitware uses to automate builds on the CMake Wiki:
> http://www.cmake.org/Wiki/CMake_Scripting_Of_CTest
> You could have CMake write the value of CMAKE_GENERATOR to
> a file that your python script reads after invoking CMake
> and uses to run the native build system.
I think I have better idea: is it possible to create "compile" test with CTest?
This test does nothing, just compiles all projects in debug\release mode.
CTest also aware of native build system so it seems like a perfect solution to
me.
--
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/
More information about the CMake
mailing list