equal
deleted
inserted
replaced
252 "-O2" # optimise for faster code |
252 "-O2" # optimise for faster code |
253 ) |
253 ) |
254 |
254 |
255 add_flag_append(CMAKE_Pascal_FLAGS "-vm4079,4080,4081 -Cs2000000 -vewnq") |
255 add_flag_append(CMAKE_Pascal_FLAGS "-vm4079,4080,4081 -Cs2000000 -vewnq") |
256 add_flag_append(CMAKE_Pascal_FLAGS_DEBUG "-O- -g -gl -gv") |
256 add_flag_append(CMAKE_Pascal_FLAGS_DEBUG "-O- -g -gl -gv") |
257 add_flag_append(CMAKE_Pascal_FLAGS_RELEASE "-Os -Xs -Si") |
257 add_flag_append(CMAKE_Pascal_FLAGS_RELEASE "-Os -Xs") |
258 |
258 |
259 #get BUILD_TYPE and enable/disable optimisation |
259 #get BUILD_TYPE and enable/disable optimisation |
260 message(STATUS "Using ${CMAKE_BUILD_TYPE} configuration") |
260 message(STATUS "Using ${CMAKE_BUILD_TYPE} configuration") |
261 if(CMAKE_BUILD_TYPE MATCHES "DEBUG") |
261 if(CMAKE_BUILD_TYPE MATCHES "DEBUG") |
262 list(APPEND haskell_flags "-Wall" # all warnings |
262 list(APPEND haskell_flags "-Wall" # all warnings |