[CMake] Question about Windows support.

Sylvain Benner benner at virtools.com
Mon Jun 5 10:23:54 EDT 2006


> SET(CMAKE_SUPPRESS_REGENERATION TRUE)
> will do the same thing but without having to modifiy the source of cmake.

I tried it and it works great.
It is just needed to add the source file manually if CMAKE_SUPPRESS_REGENERATION is set.

IF(CMAKE_SUPPRESS_REGENERATION)
    LIST(APPEND TARGET_FILES "CMakeLists.txt")
ENDIF(CMAKE_SUPPRESS_REGENERATION)

Thank you for the hint, now we can easily set it on or off outside of the code.

Sylvain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20060605/64d92274/attachment.htm


More information about the CMake mailing list