CMakeLists.txt
changeset 7226 c3b4fc19fcd4
parent 7223 b554726ff468
child 7233 225179f64fd8
equal deleted inserted replaced
7223:b554726ff468 7226:c3b4fc19fcd4
   156 set(CMAKE_CXX_FLAGS ${CMAKE_C_FLAGS})
   156 set(CMAKE_CXX_FLAGS ${CMAKE_C_FLAGS})
   157 set(CMAKE_CXX_FLAGS_RELEASE ${CMAKE_C_FLAGS_RELEASE})
   157 set(CMAKE_CXX_FLAGS_RELEASE ${CMAKE_C_FLAGS_RELEASE})
   158 set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG})
   158 set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG})
   159 
   159 
   160 separate_arguments(fpflags_full UNIX_COMMAND ${FPFLAGS})
   160 separate_arguments(fpflags_full UNIX_COMMAND ${FPFLAGS})
   161 set(pascal_flags ${fpflags_full} "-B" "-FE../bin" "-Cs2000000" "-vewn" ${pascal_flags})
   161 set(pascal_flags ${fpflags_full} "-B" "-FE../bin" "-Cs2000000" "-vewn" "-dDEBUGFILE" ${pascal_flags})
   162 separate_arguments(ghflags_full UNIX_COMMAND ${GHFLAGS})
   162 separate_arguments(ghflags_full UNIX_COMMAND ${GHFLAGS})
   163 set(haskell_flags "-O2" ${haskell_flags} ${ghflags_full})
   163 set(haskell_flags "-O2" ${haskell_flags} ${ghflags_full})
   164 
   164 
   165 if(Optz)
   165 if(Optz)
   166 #    set(pascal_flags "-O3" "-OpPENTIUM4" "-CfSSE3" "-Xs" "-Si" ${pascal_flags})
   166 #    set(pascal_flags "-O3" "-OpPENTIUM4" "-CfSSE3" "-Xs" "-Si" ${pascal_flags})
   167     set(pascal_flags "-Os" "-Ooregvar" "-Xs" "-Si" ${pascal_flags})
   167     set(pascal_flags "-Os" "-Ooregvar" "-Xs" "-Si" ${pascal_flags})
   168     set(haskell_flags "-w" "-fno-warn-unused-do-bind" ${haskell_flags})
   168     set(haskell_flags "-w" "-fno-warn-unused-do-bind" ${haskell_flags})
   169 else(Optz)
   169 else(Optz)
   170     set(pascal_flags "-O-" "-g" "-gl" "-gv" "-Ct" "-dDEBUGFILE" ${pascal_flags})
   170     set(pascal_flags "-O-" "-g" "-gl" "-gv" "-Ct" ${pascal_flags})
   171     set(haskell_flags "-Wall" "-debug" "-dcore-lint" "-fno-warn-unused-do-bind" ${haskell_flags})
   171     set(haskell_flags "-Wall" "-debug" "-dcore-lint" "-fno-warn-unused-do-bind" ${haskell_flags})
   172 endif(Optz)
   172 endif(Optz)
   173 
   173 
   174 
   174 
   175 if(DEFINED DATA_INSTALL_DIR)
   175 if(DEFINED DATA_INSTALL_DIR)