1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-04 03:40:14 +00:00
OpenMW/apps/bsatool/CMakeLists.txt

28 lines
532 B
CMake
Raw Normal View History

2013-03-05 00:45:25 +01:00
set(BSATOOL
bsatool.cpp
2013-03-05 00:45:25 +01:00
)
source_group(apps\\bsatool FILES ${BSATOOL})
# Main executable
openmw_add_executable(bsatool
${BSATOOL}
2013-03-05 00:45:25 +01:00
)
target_link_libraries(bsatool
2023-03-10 15:01:18 +01:00
${Boost_PROGRAM_OPTIONS_LIBRARY}
components
2013-03-05 00:45:25 +01:00
)
if (BUILD_WITH_CODE_COVERAGE)
target_compile_options(bsatool PRIVATE --coverage)
2023-03-10 15:01:18 +01:00
target_link_libraries(bsatool gcov)
endif()
if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.16 AND MSVC)
target_precompile_headers(bsatool PRIVATE
<filesystem>
<fstream>
<vector>
)
endif()