equal
deleted
inserted
replaced
147 endif(NOT EXECUTABLE_OUTPUT_PATH) |
147 endif(NOT EXECUTABLE_OUTPUT_PATH) |
148 |
148 |
149 # create a Pascal shared library |
149 # create a Pascal shared library |
150 if(NOT CMAKE_Pascal_CREATE_SHARED_LIBRARY) |
150 if(NOT CMAKE_Pascal_CREATE_SHARED_LIBRARY) |
151 if(WIN32) |
151 if(WIN32) |
152 set(CMAKE_Pascal_CREATE_SHARED_LIBRARY "${EXECUTABLE_OUTPUT_PATH}/ppas.bat") |
152 file(TO_NATIVE_PATH "${EXECUTABLE_OUTPUT_PATH}/ppas.bat" CMAKE_Pascal_CREATE_SHARED_LIBRARY) |
153 else(WIN32) |
153 else(WIN32) |
154 set(CMAKE_Pascal_CREATE_SHARED_LIBRARY "${EXECUTABLE_OUTPUT_PATH}/ppas.sh") |
154 set(CMAKE_Pascal_CREATE_SHARED_LIBRARY "${EXECUTABLE_OUTPUT_PATH}/ppas.sh") |
155 endif(WIN32) |
155 endif(WIN32) |
156 # other expandable variables here are <CMAKE_Pascal_COMPILER> <CMAKE_SHARED_LIBRARY_Pascal_FLAGS> <LANGUAGE_COMPILE_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_Pascal_FLAGS> <CMAKE_SHARED_LIBRARY_SONAME_Pascal_FLAG> <TARGET_SONAME> <TARGET> <OBJECTS> <LINK_LIBRARIES> |
156 # other expandable variables here are <CMAKE_Pascal_COMPILER> <CMAKE_SHARED_LIBRARY_Pascal_FLAGS> <LANGUAGE_COMPILE_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_Pascal_FLAGS> <CMAKE_SHARED_LIBRARY_SONAME_Pascal_FLAG> <TARGET_SONAME> <TARGET> <OBJECTS> <LINK_LIBRARIES> |
157 endif(NOT CMAKE_Pascal_CREATE_SHARED_LIBRARY) |
157 endif(NOT CMAKE_Pascal_CREATE_SHARED_LIBRARY) |
196 endif(NOT CMAKE_Pascal_COMPILE_OBJECT) |
196 endif(NOT CMAKE_Pascal_COMPILE_OBJECT) |
197 |
197 |
198 # link Pascal objects in a single executable |
198 # link Pascal objects in a single executable |
199 if(NOT CMAKE_Pascal_LINK_EXECUTABLE) |
199 if(NOT CMAKE_Pascal_LINK_EXECUTABLE) |
200 if(WIN32) |
200 if(WIN32) |
201 set(CMAKE_Pascal_LINK_EXECUTABLE "${EXECUTABLE_OUTPUT_PATH}/ppas.bat") |
201 file(TO_NATIVE_PATH "${EXECUTABLE_OUTPUT_PATH}/ppas.bat" CMAKE_Pascal_LINK_EXECUTABLE) |
202 else(WIN32) |
202 else(WIN32) |
203 set(CMAKE_Pascal_LINK_EXECUTABLE "${EXECUTABLE_OUTPUT_PATH}/ppas.sh") |
203 set(CMAKE_Pascal_LINK_EXECUTABLE "${EXECUTABLE_OUTPUT_PATH}/ppas.sh") |
204 endif(WIN32) |
204 endif(WIN32) |
205 # other expandable variables here are <CMAKE_Pascal_LINK_FLAGS> <LINK_FLAGS> <TARGET_BASE> <FLAGS> <LINK_LIBRARIES> |
205 # other expandable variables here are <CMAKE_Pascal_LINK_FLAGS> <LINK_FLAGS> <TARGET_BASE> <FLAGS> <LINK_LIBRARIES> |
206 endif(NOT CMAKE_Pascal_LINK_EXECUTABLE) |
206 endif(NOT CMAKE_Pascal_LINK_EXECUTABLE) |