CMakeLists.txt
changeset 2666 2b8c8f16421e
parent 2664 949c189ba568
child 2669 4eec706e86b0
equal deleted inserted replaced
2665:50b4e544c163 2666:2b8c8f16421e
    44 	IF(BUNDLE)
    44 	IF(BUNDLE)
    45 		set(WITH_SERVER false)
    45 		set(WITH_SERVER false)
    46 		if(current_macosx_version MATCHES "10.6")
    46 		if(current_macosx_version MATCHES "10.6")
    47 			set(CMAKE_OSX_ARCHITECTURES "x86_64;i386")	#;ppc7400
    47 			set(CMAKE_OSX_ARCHITECTURES "x86_64;i386")	#;ppc7400
    48 		else()
    48 		else()
    49 			set(CMAKE_OSX_ARCHITECTURES "i386")	#;ppc7400
    49 			set(CMAKE_OSX_ARCHITECTURES "i386;ppc7400")
    50 		endif()
    50 		endif()
    51 	ENDIF()	
    51 	ENDIF()	
    52 
    52 
    53 	message(STATUS "Target system: Mac OS X ${minimum_macosx} ${CMAKE_OSX_ARCHITECTURES}")	
    53 	message(STATUS "Target system: Mac OS X ${minimum_macosx} ${CMAKE_OSX_ARCHITECTURES}")	
    54 
    54 
    87 set(CMAKE_C_FLAGS_DEBUG "-Wall -O0 -g -DDEBUG")
    87 set(CMAKE_C_FLAGS_DEBUG "-Wall -O0 -g -DDEBUG")
    88 set(CMAKE_CXX_FLAGS ${CMAKE_C_FLAGS})
    88 set(CMAKE_CXX_FLAGS ${CMAKE_C_FLAGS})
    89 set(CMAKE_CXX_FLAGS_RELEASE ${CMAKE_C_FLAGS_RELEASE})
    89 set(CMAKE_CXX_FLAGS_RELEASE ${CMAKE_C_FLAGS_RELEASE})
    90 set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG})
    90 set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG})
    91 
    91 
    92 set(pascal_compiler_flags_cmn "-B" "-FE../bin" "-Fl../bin/" "-Cs2000000" "-vwi" "/Users/vittorio/hedge.build/trunk/SDLMain.o")
    92 set(pascal_compiler_flags_cmn "-B" "-FE../bin" "-Fl../bin/" "-Cs2000000" "-vwi")
    93 if(LOWRES)
    93 if(LOWRES)
    94 	set(pascal_compiler_flags_cmn "-dLOWRES" ${pascal_compiler_flags_cmn})
    94 	set(pascal_compiler_flags_cmn "-dLOWRES" ${pascal_compiler_flags_cmn})
    95 	add_definitions(-DLOWRES)
    95 	add_definitions(-DLOWRES)
    96 endif(LOWRES)
    96 endif(LOWRES)
    97 
    97