equal
deleted
inserted
replaced
10 include(${CMAKE_MODULE_PATH}/utils.cmake) |
10 include(${CMAKE_MODULE_PATH}/utils.cmake) |
11 |
11 |
12 |
12 |
13 enable_language(Pascal) |
13 enable_language(Pascal) |
14 add_flag_append(CMAKE_Pascal_FLAGS "-Cs2000000 -B") |
14 add_flag_append(CMAKE_Pascal_FLAGS "-Cs2000000 -B") |
15 add_flag_append(CMAKE_Pascal_FLAGS_DEBUG "-gv -dDEBUG") |
15 add_flag_append(CMAKE_Pascal_FLAGS_DEBUG "-gv") |
16 add_flag_append(CMAKE_Pascal_FLAGS_RELEASE "-Xs") |
16 add_flag_append(CMAKE_Pascal_FLAGS_RELEASE "-Xs") |
17 if(UNIX) |
17 if(UNIX) |
18 include(TargetArch) |
18 include(TargetArch) |
19 target_architecture(CMAKE_TARGET_ARCHITECTURES) |
19 target_architecture(CMAKE_TARGET_ARCHITECTURES) |
20 if(${CMAKE_Pascal_COMPILER_VERSION} VERSION_GREATER 2.7 OR ${CMAKE_TARGET_ARCHITECTURES} MATCHES "x86_64" OR ${CMAKE_TARGET_ARCHITECTURES} MATCHES "i386") |
20 if(${CMAKE_Pascal_COMPILER_VERSION} VERSION_GREATER 2.7 OR ${CMAKE_TARGET_ARCHITECTURES} MATCHES "x86_64" OR ${CMAKE_TARGET_ARCHITECTURES} MATCHES "i386") |