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
|
|
|
|
${Boost_PROGRAM_OPTIONS_LIBRARY}
|
|
|
|
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
|
|
|
|
|
|
|
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.16 AND MSVC)
|
|
|
|
target_precompile_headers(openmw-bulletobjecttool PRIVATE
|
|
|
|
<string>
|
|
|
|
<vector>
|
|
|
|
)
|
|
|
|
endif()
|