Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/buildsystem2/src/ceguilua/ceguilua-0.5.0/CMakeLists.txt @ 2608

Last change on this file since 2608 was 2608, checked in by rgrieder, 15 years ago

Large cleanup in CEGUILua:

  • Removed the heavy 1.7MB bind files and added the small pkg files from the CEGUI source instead
  • Those pkg files get copied version incrementally (starting with 0.5.0) to the binary dir. That saves a lot of files when having 4 different versions.
  • Added support for CEGUI 0.6.0 and 0.6.2
  • Added library info files
  • CEGUILua 0.5.0 finally supports Lua 5.1 too That means all version support both Lua 5.0 and 5.1
  • Added unified diffs with the changes to the CEGUILua source
  • Property svn:eol-style set to native
File size: 567 bytes
Line 
1# Copy all files from the package folder to the binary directory
2
3# Only do this once since GLOB_RECURSE is quite slow
4# No, don't. When switch back from 0.6 to 0.5 and keeping the binary dir
5# This will cause problems.
6#IF(EXISTS ${CEGUILUA_BINARY_DIR}/exceptions.lua)
7#  RETURN()
8#ENDIF(EXISTS ${CEGUILUA_BINARY_DIR}/exceptions.lua)
9
10FILE(GLOB_RECURSE _package_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/package "*.pkg")
11FOREACH(_file ${_package_files} "exceptions.lua")
12  CONFIGURE_FILE(package/${_file} ${CEGUILUA_BINARY_DIR}/${_file} COPYONLY)
13ENDFOREACH(_file)
Note: See TracBrowser for help on using the repository browser.