Merge branch 'install-more-things' into 'master'
Some checks failed
Build and test / Ubuntu (push) Has been cancelled
Build and test / MacOS (push) Has been cancelled
Build and test / Read .env file and expose it as output (push) Has been cancelled
Build and test / Windows (2019) (push) Has been cancelled
Build and test / Windows (2022) (push) Has been cancelled

Install tools left out on Windows

Closes #8297

See merge request OpenMW/openmw!4510
This commit is contained in:
Alexei Kotov 2025-01-14 15:17:51 +00:00
commit fe047d98b1
3 changed files with 12 additions and 0 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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()