equal
deleted
inserted
replaced
105 |
105 |
106 if (NOT pascal_compiler) |
106 if (NOT pascal_compiler) |
107 message(FATAL_ERROR "No Pascal compiler found!") |
107 message(FATAL_ERROR "No Pascal compiler found!") |
108 endif (NOT pascal_compiler) |
108 endif (NOT pascal_compiler) |
109 |
109 |
|
110 #special handling of MSVC compiler (no static linking) |
|
111 if(MSVC) |
|
112 set(pascal_compiler_flags "-dMSVC" ${pascal_compiler_flags}) |
|
113 endif(MSVC) |
110 |
114 |
111 IF(NOT APPLE OR NOT universal_build MATCHES "1") |
115 IF(NOT APPLE OR NOT universal_build MATCHES "1") |
112 #here is the standard command for any system |
116 #here is the standard command for any system |
113 add_custom_command(OUTPUT "${EXECUTABLE_OUTPUT_PATH}/hwengine${CMAKE_EXECUTABLE_SUFFIX}" |
117 add_custom_command(OUTPUT "${EXECUTABLE_OUTPUT_PATH}/hwengine${CMAKE_EXECUTABLE_SUFFIX}" |
114 COMMAND "${pascal_compiler}" |
118 COMMAND "${pascal_compiler}" |