Changeset 7619
- Timestamp:
- Nov 6, 2010, 2:12:07 PM (14 years ago)
- Location:
- code/branches/ois_update/cmake/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ois_update/cmake/tools/GenerateToluaBindings.cmake
r7415 r7619 32 32 # RUNTIME_LIBRARY_DIRECTORY - Working directory 33 33 # 34 35 # Workaround for XCode: The folder where the bind files are written to has 36 # to be present beforehand. 37 # We have to do this here because the header files are all stored in a single 38 # location per configuration. 39 IF(CMAKE_CONFIGURATION_TYPES) 40 FOREACH(_dir ${CMAKE_CONFIGURATION_TYPES}) 41 FILE(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/src/toluabind/${_dir}") 42 ENDFOREACH(_dir) 43 ENDIF() 34 44 35 45 FUNCTION(GENERATE_TOLUA_BINDINGS _tolua_package _target_source_files) -
code/branches/ois_update/cmake/tools/TargetUtilities.cmake
r7416 r7619 119 119 GENERATE_TOLUA_BINDINGS(${_target_name_capitalised} _${_target_name}_files 120 120 INPUTFILES ${_arg_TOLUA_FILES}) 121 # Workaround for XCode: The folder where the bind files are written to has 122 # to be present beforehand. 123 IF(CMAKE_CONFIGURATION_TYPES) 124 FOREACH(_dir ${CMAKE_CONFIGURATION_TYPES}) 125 FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${_dir}) 126 ENDFOREACH(_dir) 127 ENDIF() 121 128 ENDIF() 122 129
Note: See TracChangeset
for help on using the changeset viewer.