[CMake] Getting the Generator during CMAKE

John Drescher drescherjm at gmail.com
Fri Mar 27 16:44:48 EDT 2009


On Fri, Mar 27, 2009 at 4:36 PM, Neal Meyer <nmeyer at dottedzebra.com> wrote:
> I need to have my CMakeLists file do different things depending on the
> Generator that is being used.  Mostly passing on that version information to
> a build of a 3rd party library.  Is there a way to get that information
> during the CMake run?
>
http://www.cmake.org/cmake/help/cmake2.6docs.html#variable:CMAKE_GENERATOR

http://www.cmake.org/cmake/help/cmake2.6docs.html#section_Variables%20That%20Describe%20the%20System


John


More information about the CMake mailing list