hedgewars/CMakeLists.txt
changeset 2586 204e6b2885bc
parent 2523 7fc37a16f405
child 2601 21ed7cec1fa2
equal deleted inserted replaced
2585:0899ce8ad77f 2586:204e6b2885bc
    94 
    94 
    95 #PASCAL FLAG SECTION
    95 #PASCAL FLAG SECTION
    96 set(pascal_compiler_flags ${noexecstack_flags} "-B" "-FE../bin" "-Fl../bin/" "-Cs2000000" "-vwi" ${hwengine_project})
    96 set(pascal_compiler_flags ${noexecstack_flags} "-B" "-FE../bin" "-Fl../bin/" "-Cs2000000" "-vwi" ${hwengine_project})
    97 
    97 
    98 if(OPTIMIZATIONS)
    98 if(OPTIMIZATIONS)
    99 	set(pascal_compiler_flags "-O2" "-Xs" "-Nu" ${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" "-va" ${pascal_compiler_flags})