Skip to content

Commit

Permalink
Merge branch 'install-more-things' into 'master'
Browse files Browse the repository at this point in the history
Install tools left out on Windows

Closes #8297

See merge request OpenMW/openmw!4510
  • Loading branch information
Capostrophic committed Jan 14, 2025
2 parents af36402 + a4bc99d commit fe047d9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/bsatool/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ if (BUILD_WITH_CODE_COVERAGE)
target_link_libraries(bsatool gcov)
endif()

if (WIN32)
install(TARGETS bsatool RUNTIME DESTINATION ".")
endif()

if (MSVC AND PRECOMPILE_HEADERS_WITH_MSVC)
target_precompile_headers(bsatool PRIVATE
<filesystem>
Expand Down
4 changes: 4 additions & 0 deletions apps/esmtool/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ if (BUILD_WITH_CODE_COVERAGE)
target_link_libraries(esmtool gcov)
endif()

if (WIN32)
install(TARGETS esmtool RUNTIME DESTINATION ".")
endif()

if (MSVC AND PRECOMPILE_HEADERS_WITH_MSVC)
target_precompile_headers(esmtool PRIVATE
<fstream>
Expand Down
4 changes: 4 additions & 0 deletions apps/niftest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ if (BUILD_WITH_CODE_COVERAGE)
target_link_libraries(niftest gcov)
endif()

if (WIN32)
install(TARGETS niftest RUNTIME DESTINATION ".")
endif()

if (MSVC AND PRECOMPILE_HEADERS_WITH_MSVC)
target_precompile_headers(niftest PRIVATE <filesystem>)
endif()

0 comments on commit fe047d9

Please sign in to comment.