Hi Alex,
IF(NOT CMAKE_NOT_FIRST_RUN)
# Do something
ENDIF(NOT CMAKE_NOT_FIRST_RUN)
SET(CMAKE_NOT_FIRST_RUN 1 CACHE INTERNAL "")
Andy
Alexander Neundorf wrote:
Hi,
I can remember there was already this question, but I can't find it in
the archive.
Is there a way to detect the first run of cmake on a project ?
I think there was something like CMAKE_FIRST_RUN, but this doesn't exist.
Bye
Alex
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake