2021-11-21 14:28:40 +00:00
|
|
|
set(BULLETMESHTOOL
|
|
|
|
main.cpp
|
|
|
|
)
|
|
|
|
source_group(apps\\bulletobjecttool FILES ${BULLETMESHTOOL})
|
|
|
|
|
|
|
|
openmw_add_executable(openmw-bulletobjecttool ${BULLETMESHTOOL})
|
|
|
|
|
|
|
|
target_link_libraries(openmw-bulletobjecttool
|
2024-08-06 22:37:54 +00:00
|
|
|
Boost::program_options
|
2021-11-21 14:28:40 +00:00
|
|
|
components
|
|
|
|
)
|
|
|
|
|
|
|
|
if (BUILD_WITH_CODE_COVERAGE)
|
2023-03-10 14:16:09 +00:00
|
|
|
target_compile_options(openmw-bulletobjecttool PRIVATE --coverage)
|
2021-11-21 14:28:40 +00:00
|
|
|
target_link_libraries(openmw-bulletobjecttool gcov)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (WIN32)
|
|
|
|
install(TARGETS openmw-bulletobjecttool RUNTIME DESTINATION ".")
|
|
|
|
endif()
|
2022-07-01 14:05:17 +00:00
|
|
|
|
2024-03-08 00:22:42 +00:00
|
|
|
if (MSVC AND PRECOMPILE_HEADERS_WITH_MSVC)
|
2022-07-01 14:05:17 +00:00
|
|
|
target_precompile_headers(openmw-bulletobjecttool PRIVATE
|
|
|
|
<string>
|
|
|
|
<vector>
|
|
|
|
)
|
|
|
|
endif()
|