equal
deleted
inserted
replaced
177 endif() |
177 endif() |
178 |
178 |
179 #workaround for missing <TARGET> support during object generation |
179 #workaround for missing <TARGET> support during object generation |
180 set(engine_output_name "${CMAKE_SHARED_LIBRARY_PREFIX}hwengine${CMAKE_SHARED_LIBRARY_SUFFIX}") |
180 set(engine_output_name "${CMAKE_SHARED_LIBRARY_PREFIX}hwengine${CMAKE_SHARED_LIBRARY_SUFFIX}") |
181 set(destination_dir ${target_library_install_dir}) |
181 set(destination_dir ${target_library_install_dir}) |
182 add_flags_prepend(CMAKE_Pascal_FLAGS "-o${LIBRARY_OUTPUT_PATH}/${engine_output_name}") |
182 add_flag_prepend(CMAKE_Pascal_FLAGS "-o${LIBRARY_OUTPUT_PATH}/${engine_output_name}") |
183 |
183 |
184 add_definitions(-dHWLIBRARY) |
184 add_definitions(-dHWLIBRARY) |
185 add_library(hwengine SHARED ${engine_sources} hwLibrary.pas) |
185 add_library(hwengine SHARED ${engine_sources} hwLibrary.pas) |
186 else() |
186 else() |
187 # no need to change name here because target has same name |
187 # no need to change name here because target has same name |