changed cmakelists.txt to generate install symlink script

This commit is contained in:
Caner Candan 2010-12-22 17:25:40 +01:00
commit f5db4b56dc

View file

@ -59,6 +59,9 @@ INCLUDE(Dart OPTIONNAL)
# now create config headers
CONFIGURE_FILE(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
# now create config install_symlink script file
CONFIGURE_FILE(install_symlink.py.cmake ${CMAKE_CURRENT_BINARY_DIR}/install_symlink.py)
# Set a special flag if the environment is windows (should do the same in a config.g file)
IF (WIN32)
ADD_DEFINITIONS(-D_WINDOWS=1)