[Orxonox-commit 2917] r7620 - code/branches/ois_update/src/external/ceguilua
rgrieder at orxonox.net
rgrieder at orxonox.net
Sat Nov 6 14:36:11 CET 2010
Author: rgrieder
Date: 2010-11-06 14:36:11 +0100 (Sat, 06 Nov 2010)
New Revision: 7620
Modified:
code/branches/ois_update/src/external/ceguilua/CMakeLists.txt
Log:
Also create output directories for CEGUILua.
Modified: code/branches/ois_update/src/external/ceguilua/CMakeLists.txt
===================================================================
--- code/branches/ois_update/src/external/ceguilua/CMakeLists.txt 2010-11-06 13:12:07 UTC (rev 7619)
+++ code/branches/ois_update/src/external/ceguilua/CMakeLists.txt 2010-11-06 13:36:11 UTC (rev 7620)
@@ -52,6 +52,14 @@
ENDFOREACH(_version)
ENDIF()
+# Workaround for XCode: The folder where the bind files are written to has
+# to be present beforehand.
+IF(CMAKE_CONFIGURATION_TYPES)
+ FOREACH(_dir ${CMAKE_CONFIGURATION_TYPES})
+ FILE(MAKE_DIRECTORY ${CEGUILUA_BINARY_DIR}/${_dir})
+ ENDFOREACH(_dir)
+ENDIF()
+
# Create the tolua bind file. We could use the orignal file though, but it is 1.6MB...
ADD_CUSTOM_COMMAND(
OUTPUT ${CEGUILUA_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lua_CEGUI.cpp
More information about the Orxonox-commit
mailing list