equal
deleted
inserted
replaced
195 set(destination_dir ${target_library_install_dir}) |
195 set(destination_dir ${target_library_install_dir}) |
196 add_flag_prepend(CMAKE_Pascal_FLAGS "-o${LIBRARY_OUTPUT_PATH}/${engine_output_name}") |
196 add_flag_prepend(CMAKE_Pascal_FLAGS "-o${LIBRARY_OUTPUT_PATH}/${engine_output_name}") |
197 |
197 |
198 add_definitions(-dHWLIBRARY) |
198 add_definitions(-dHWLIBRARY) |
199 set_source_files_properties(hwLibrary.pas PROPERTIES OBJECT_DEPENDS "${sourcefiles_sofar}") |
199 set_source_files_properties(hwLibrary.pas PROPERTIES OBJECT_DEPENDS "${sourcefiles_sofar}") |
|
200 set_source_files_properties(hwLibrary.pas PROPERTIES OBJECT_DEPENDS hwengine.pas) |
200 add_library(hwengine SHARED hwLibrary.pas) |
201 add_library(hwengine SHARED hwLibrary.pas) |
201 else() |
202 else() |
202 # no need to change name here because target has same name |
203 # no need to change name here because target has same name |
203 set(engine_output_name "hwengine${CMAKE_EXECUTABLE_SUFFIX}") |
204 set(engine_output_name "hwengine${CMAKE_EXECUTABLE_SUFFIX}") |
204 set(destination_dir ${target_binary_install_dir}) |
205 set(destination_dir ${target_binary_install_dir}) |