hedgewars/CMakeLists.txt
changeset 2601 21ed7cec1fa2
parent 2586 204e6b2885bc
child 2606 ed687a8d081f
equal deleted inserted replaced
2600:7b21daf84933 2601:21ed7cec1fa2
    99 	set(pascal_compiler_flags "-O2" "-Xs" "-Nu" "-Si" ${pascal_compiler_flags})
    99 	set(pascal_compiler_flags "-O2" "-Xs" "-Nu" "-Si" ${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" "-pg" "-va" ${pascal_compiler_flags})
   104 	set(pascal_compiler_flags "-O-" "-gl" "-dDEBUGFILE" "-pg" "-vv" ${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)