CMakeLists.txt
changeset 3407 dcc129c4352e
parent 3353 a767dd3786b5
child 3495 a6b4f351d400
equal deleted inserted replaced
3406:f4bdebced042 3407:dcc129c4352e
   133 set(CMAKE_C_FLAGS_DEBUG "-Wall -O0 -g -DDEBUG ${CMAKE_C_FLAGS_DEBUG}")
   133 set(CMAKE_C_FLAGS_DEBUG "-Wall -O0 -g -DDEBUG ${CMAKE_C_FLAGS_DEBUG}")
   134 set(CMAKE_CXX_FLAGS ${CMAKE_C_FLAGS})
   134 set(CMAKE_CXX_FLAGS ${CMAKE_C_FLAGS})
   135 set(CMAKE_CXX_FLAGS_RELEASE ${CMAKE_C_FLAGS_RELEASE})
   135 set(CMAKE_CXX_FLAGS_RELEASE ${CMAKE_C_FLAGS_RELEASE})
   136 set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG})
   136 set(CMAKE_CXX_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG})
   137 
   137 
   138 set(pascal_compiler_flags_cmn "-B" "-FE../bin" "-Cs2000000" "-vwi" ${pascal_compiler_flags_cmn})
   138 set(pascal_compiler_flags_cmn "-B" "-FE../bin" "-Cs2000000" "-vewn" ${pascal_compiler_flags_cmn})
   139 if(LOWRES)
   139 if(LOWRES)
   140 	set(pascal_compiler_flags_cmn "-dLOWRES" ${pascal_compiler_flags_cmn})
   140 	set(pascal_compiler_flags_cmn "-dLOWRES" ${pascal_compiler_flags_cmn})
   141 	add_definitions(-DLOWRES)
   141 	add_definitions(-DLOWRES)
   142 endif(LOWRES)
   142 endif(LOWRES)
   143 
   143 
   144 if(Optz)
   144 if(Optz)
   145 	set(pascal_compiler_flags_cmn "-O2" "-Xs" "-Si" ${pascal_compiler_flags_cmn})
   145 	set(pascal_compiler_flags_cmn "-O2" "-Xs" "-Si" ${pascal_compiler_flags_cmn})
   146 	set(haskell_compiler_flags_cmn "-O2" "-w")
   146 	set(haskell_compiler_flags_cmn "-O2" "-w")
   147 else(Optz)
   147 else(Optz)
   148 	set(pascal_compiler_flags_cmn "-O-" "-ghl" "-dDEBUGFILE" "-vwnv" ${pascal_compiler_flags_cmn})
   148 	set(pascal_compiler_flags_cmn "-O-" "-ghl" "-dDEBUGFILE" ${pascal_compiler_flags_cmn})
   149 	set(haskell_compiler_flags_cmn "-Wall" "-debug" "-dcore-lint")
   149 	set(haskell_compiler_flags_cmn "-Wall" "-debug" "-dcore-lint")
   150 endif(Optz)
   150 endif(Optz)
   151 
   151 
   152 
   152 
   153 if(DEFINED DATA_INSTALL_DIR)
   153 if(DEFINED DATA_INSTALL_DIR)