1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-29 12:20:41 +00:00
OpenMW/apps/bsatool/CMakeLists.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
510 B
CMake
Raw Normal View History

2013-03-04 23:45:25 +00:00
set(BSATOOL
bsatool.cpp
2013-03-04 23:45:25 +00:00
)
source_group(apps\\bsatool FILES ${BSATOOL})
# Main executable
openmw_add_executable(bsatool
${BSATOOL}
2013-03-04 23:45:25 +00:00
)
target_link_libraries(bsatool
Boost::program_options
2023-03-10 14:01:18 +00:00
components
2013-03-04 23:45:25 +00:00
)
if (BUILD_WITH_CODE_COVERAGE)
target_compile_options(bsatool PRIVATE --coverage)
2023-03-10 14:01:18 +00:00
target_link_libraries(bsatool gcov)
endif()
if (MSVC AND PRECOMPILE_HEADERS_WITH_MSVC)
target_precompile_headers(bsatool PRIVATE
<filesystem>
<fstream>
<vector>
)
endif()