Changeset 8083 for code/branches
- Timestamp:
- Mar 17, 2011, 12:12:17 PM (14 years ago)
- Location:
- code/branches/mac_osx
- Files:
-
- 12 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/mac_osx/CMakeLists.txt
r7530 r8083 140 140 # Last but not least: Try to make a doc target with Doxygen 141 141 ADD_SUBDIRECTORY(doc) 142 143 ########### CPack Packaging ########### 144 145 # Currently only testing on Apple 146 #IF(APPLE) 147 # INCLUDE(BundleConfig) 148 #ENDIF(APPLE) -
code/branches/mac_osx/cmake/tools/TargetUtilities.cmake
r7619 r8083 176 176 ADD_COMPILER_FLAGS("-w") 177 177 ENDIF() 178 178 179 179 # Don't compile header files 180 180 FOREACH(_file ${_${_target_name}_files}) 181 IF(NOT _file MATCHES "\\.(c|cc|cpp )")181 IF(NOT _file MATCHES "\\.(c|cc|cpp|cxx|mm)$") 182 182 SET_SOURCE_FILES_PROPERTIES(${_file} PROPERTIES HEADER_FILE_ONLY TRUE) 183 183 ENDIF() 184 184 ENDFOREACH(_file) 185 186 187 185 188 186 # Add the library/executable -
code/branches/mac_osx/data/levels/test_swallow.oxw
r7285 r8083 2 2 include("hudtemplates3.oxo") 3 3 include("stats.oxo") 4 include("templates/lodinformation.oxt") 4 5 include("templates/spaceship_swallow.oxt") 5 6 include("templates/spaceship_pirate.oxt") 6 7 ?> 8 9 7 10 8 11 <Level … … 11 14 12 15 > 16 <templates> 17 <Template link=lodtemplate_default /> 18 </templates> 19 13 20 <Scene 14 21 ambientlight = "0.5, 0.5, 0.5" -
code/branches/mac_osx/src/CMakeLists.txt
r7510 r8083 140 140 SOURCE_FILES 141 141 Orxonox.cc 142 OrxonoxMac.mm 142 143 OUTPUT_NAME orxonox 143 144 ) 145 146 # Apple Mac OS X specific build settings 147 IF(APPLE) 148 # On Apple we need to link to AppKit and Foundation frameworks 149 TARGET_LINK_LIBRARIES(orxonox-main 150 "/System/Library/Frameworks/AppKit.framework" 151 "/System/Library/Frameworks/Foundation.framework" 152 ) 153 154 # Tell Apple where to find the Info.plist file, used for Cocoa 155 # TODO: Of course, this only makes sense for development builds. CPack will take care of this otherwise 156 # Property XCODE_ATTRIBUTE_INFOPLIST_FILE is fo Xcode, while the other is for makefile generator 157 SET_TARGET_PROPERTIES(orxonox-main PROPERTIES 158 XCODE_ATTRIBUTE_INFOPLIST_FILE "${DEFAULT_DATA_PATH}/mac/Orxonox-Info.plist" 159 MACOSX_BUNDLE_INFO_PLIST "${DEFAULT_DATA_PATH}/mac/Orxonox-Info.plist" 160 ) 161 ENDIF(APPLE) 162 144 163 # Main executable should depend on all modules 145 164 ADD_DEPENDENCIES(orxonox-main ${ORXONOX_MODULES}) -
code/branches/mac_osx/src/Orxonox.cc
r6417 r8083 53 53 #ifdef ORXONOX_USE_WINMAIN 54 54 INT WINAPI WinMain(HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT) 55 #elif defined(ORXONOX_PLATFORM_APPLE) 56 int main_mac(int argc, char** argv) 55 57 #else 56 58 int main(int argc, char** argv) 57 59 #endif 58 60 { 61 COUT(0) << "main mac" << std::endl; 59 62 try 60 63 {
Note: See TracChangeset
for help on using the changeset viewer.