1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-01 06:45:35 +00:00
openmw/apps/bsatool/CMakeLists.txt

29 lines
526 B
Text
Raw Normal View History

2013-03-04 23:45:25 +00:00
set(BSATOOL
bsatool.cpp
)
source_group(apps\\bsatool FILES ${BSATOOL})
# Main executable
openmw_add_executable(bsatool
2013-03-04 23:45:25 +00:00
${BSATOOL}
)
target_link_libraries(bsatool
${Boost_PROGRAM_OPTIONS_LIBRARY}
2022-09-09 08:13:47 +00:00
${Boost_FILESYSTEM_LIBRARY}
2013-03-04 23:45:25 +00:00
components
)
if (BUILD_WITH_CODE_COVERAGE)
add_definitions (--coverage)
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()