hedgewars/CMakeLists.txt
changeset 2523 7fc37a16f405
parent 2521 fc8d26d14ed0
child 2586 204e6b2885bc
equal deleted inserted replaced
2522:42986b9ebc74 2523:7fc37a16f405
    99 	set(pascal_compiler_flags "-O2" "-Xs" "-Nu" ${pascal_compiler_flags})
    99 	set(pascal_compiler_flags "-O2" "-Xs" "-Nu" ${pascal_compiler_flags})
   100 	if(APPLE AND NOT universal_build)
   100 	if(APPLE AND NOT universal_build)
   101 		set(pascal_compiler_flags "-fPIC" "-CfSSE2" ${pascal_compiler_flags})	#instruction set for ppc is 7400
   101 		set(pascal_compiler_flags "-fPIC" "-CfSSE2" ${pascal_compiler_flags})	#instruction set for ppc is 7400
   102 	endif()			
   102 	endif()			
   103 else(OPTIMIZATIONS)
   103 else(OPTIMIZATIONS)
   104 	set(pascal_compiler_flags "-O-" "-gl" "-dDEBUGFILE" "-dDEBUG" "-pg" "-va" ${pascal_compiler_flags})
   104 	set(pascal_compiler_flags "-O-" "-gl" "-dDEBUGFILE" "-pg" "-va" ${pascal_compiler_flags})
   105 endif(OPTIMIZATIONS)
   105 endif(OPTIMIZATIONS)
   106 
   106 
   107 if(LOWRES)
   107 if(LOWRES)
   108 	set(pascal_compiler_flags "-dLOWRES" ${pascal_compiler_flags} ${hwengine_project})
   108 	set(pascal_compiler_flags "-dLOWRES" ${pascal_compiler_flags} ${hwengine_project})
   109 endif(LOWRES)
   109 endif(LOWRES)