equal
deleted
inserted
replaced
|
1 add_subdirectory(Data) |
|
2 |
1 set(dcc32_tryexe dcc32.exe) |
3 set(dcc32_tryexe dcc32.exe) |
2 set(ppc386_tryexe ppc386) |
4 set(ppc386_tryexe ppc386) |
3 set(hwengine_project "hwengine.dpr") |
5 set(hwengine_project "hwengine.dpr") |
4 |
6 |
5 find_program(dcc32_executable ${dcc32_tryexe}) |
7 find_program(dcc32_executable ${dcc32_tryexe}) |
26 math(EXPR ppc386_ver "${ppc386_vers_major}*10000 + ${ppc386_vers_minor}*100 + ${ppc386_vers_patch}") |
28 math(EXPR ppc386_ver "${ppc386_vers_major}*10000 + ${ppc386_vers_minor}*100 + ${ppc386_vers_patch}") |
27 if (ppc386_ver LESS "010902") |
29 if (ppc386_ver LESS "010902") |
28 message("Minimum required version of FreePascal is 1.9.2") |
30 message("Minimum required version of FreePascal is 1.9.2") |
29 else (ppc386_ver LESS "010902") |
31 else (ppc386_ver LESS "010902") |
30 set(pascal_compiler ${ppc386_executable}) |
32 set(pascal_compiler ${ppc386_executable}) |
31 set(pascal_compiler_flags "-B -Sd -Xs -OG -Or -O2 -Cs2000000"${hwengine_project}) |
33 set(pascal_compiler_flags "-B -Sd -Xs -OG -O3 -Cs2000000"${hwengine_project}) |
32 endif (ppc386_ver LESS "010902") |
34 endif (ppc386_ver LESS "010902") |
33 endif (ppc386_version) |
35 endif (ppc386_version) |
34 endif (dcc32version) |
36 endif (dcc32version) |
35 |
37 |
36 if (NOT pascal_compiler) |
38 if (NOT pascal_compiler) |