I don't know that I would advise what you're trying to do, but if you insist :-) 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.
David -----Original Message----- From: [EMAIL PROTECTED] on behalf of Roman Yakovenko Sent: Mon 12/25/2006 9:06 PM To: gga Cc: CMake ML Subject: Re: [CMake] Native build system invocation On 12/26/06, gga <[EMAIL PROTECTED]> wrote: > Roman Yakovenko wrote: > > Hi. It seems that I cannot to find answer for pretty simple question: > > how I can invoke native build system from\using CMake? > Short answer is that you invoke the native build system as usual (make, > nmake, etc). Thanks for help. I know how to invoke native build system. What I don't know how to make it in "portable" way - I don't what to know what is the native build system. CMake already knows it, so I would like to reuse that knowledge. > Find attached a wrapper bash script I am using for cmake and normal > Makefiles. > It automatically creates out-of-source builds when run under cmake. > For running it on windows, you will need something like cygwin or MSYS Unfortunately I cannot introduce new dependencies :-( Thank you. -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake