CMakeLists.txt
changeset 4904 0eab727d4717
parent 4903 21dd1def5aaf
parent 4612 e82758d6f924
child 5053 a767954cfa03
equal deleted inserted replaced
4903:21dd1def5aaf 4904:0eab727d4717
   157 set(pascal_compiler_flags_cmn "-B" "-FE../bin" "-Cs2000000" "-vewn" ${pascal_compiler_flags_cmn})
   157 set(pascal_compiler_flags_cmn "-B" "-FE../bin" "-Cs2000000" "-vewn" ${pascal_compiler_flags_cmn})
   158 
   158 
   159 if(Optz)
   159 if(Optz)
   160 #	set(pascal_compiler_flags_cmn "-O3" "-OpPENTIUM4" "-CfSSE3" "-Xs" "-Si" ${pascal_compiler_flags_cmn})
   160 #	set(pascal_compiler_flags_cmn "-O3" "-OpPENTIUM4" "-CfSSE3" "-Xs" "-Si" ${pascal_compiler_flags_cmn})
   161 	set(pascal_compiler_flags_cmn "-O2" "-Xs" "-Si" ${pascal_compiler_flags_cmn})
   161 	set(pascal_compiler_flags_cmn "-O2" "-Xs" "-Si" ${pascal_compiler_flags_cmn})
   162 	set(haskell_compiler_flags_cmn "-O2" "-w")
   162 	set(haskell_compiler_flags_cmn "-O2" "-w" "-fno-warn-unused-do-bind")
   163 else(Optz)
   163 else(Optz)
   164 	set(pascal_compiler_flags_cmn "-O-" "-g" "-gh" "-gl" "-dDEBUGFILE" ${pascal_compiler_flags_cmn})
   164 	set(pascal_compiler_flags_cmn "-O-" "-g" "-gh" "-gl" "-dDEBUGFILE" ${pascal_compiler_flags_cmn})
   165 	set(haskell_compiler_flags_cmn "-Wall" "-debug" "-dcore-lint")
   165 	set(haskell_compiler_flags_cmn "-Wall" "-debug" "-dcore-lint" "-fno-warn-unused-do-bind")
   166 endif(Optz)
   166 endif(Optz)
   167 
   167 
   168 
   168 
   169 if(DEFINED DATA_INSTALL_DIR)
   169 if(DEFINED DATA_INSTALL_DIR)
   170 	set(SHAREPATH ${DATA_INSTALL_DIR}/hedgewars/)
   170 	set(SHAREPATH ${DATA_INSTALL_DIR}/hedgewars/)