hedgewars/CMakeLists.txt
changeset 2494 1e10a47cabea
parent 2420 b7390a3040f8
child 2515 51d3f4b6293a
equal deleted inserted replaced
2493:08313e4080e4 2494:1e10a47cabea
    98 	set(pascal_compiler_flags "-O2" "-Xs" "-Nu" ${pascal_compiler_flags})
    98 	set(pascal_compiler_flags "-O2" "-Xs" "-Nu" ${pascal_compiler_flags})
    99 	if(APPLE AND NOT universal_build)
    99 	if(APPLE AND NOT universal_build)
   100 		set(pascal_compiler_flags "-fPIC" "-CfSSE2" ${pascal_compiler_flags})	#instruction set for ppc is 7400
   100 		set(pascal_compiler_flags "-fPIC" "-CfSSE2" ${pascal_compiler_flags})	#instruction set for ppc is 7400
   101 	endif()			
   101 	endif()			
   102 else(OPTIMIZATIONS)
   102 else(OPTIMIZATIONS)
   103 	set(pascal_compiler_flags "-O-" "-gl" "-dDEBUGFILE" "-pg" "-va" ${pascal_compiler_flags})
   103 	set(pascal_compiler_flags "-O-" "-gl" "-dDEBUGFILE" "-dDEBUG" "-pg" "-va" ${pascal_compiler_flags})
   104 endif(OPTIMIZATIONS)
   104 endif(OPTIMIZATIONS)
   105 
   105 
   106 if(LOWRES)
   106 if(LOWRES)
   107 	set(pascal_compiler_flags "-dLOWRES" ${pascal_compiler_flags} ${hwengine_project})
   107 	set(pascal_compiler_flags "-dLOWRES" ${pascal_compiler_flags} ${hwengine_project})
   108 endif(LOWRES)
   108 endif(LOWRES)