diff options
author | James McCoy <jamessan@jamessan.com> | 2022-02-06 09:32:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-06 09:32:18 -0500 |
commit | 4903949033dd17d3fa8e8f10542d82a6c944bf76 (patch) | |
tree | dbe0eba4b9d2ac9a126336044c30103f1af05831 /src | |
parent | 2ff4726faecd4243c7a94ae5dd23bf17fa1f14e9 (diff) | |
parent | 5fe6bbae2da82b41caae3742df02287e1da1477a (diff) | |
download | rneovim-4903949033dd17d3fa8e8f10542d82a6c944bf76.tar.gz rneovim-4903949033dd17d3fa8e8f10542d82a6c944bf76.tar.bz2 rneovim-4903949033dd17d3fa8e8f10542d82a6c944bf76.zip |
Merge pull request #17277 from laomaiweng/windows-debug-symbols
build(win): package the debug symbols (PDB file) along with nvim.exe
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt index 94572b57cd..dcc20194f0 100644 --- a/src/nvim/CMakeLists.txt +++ b/src/nvim/CMakeLists.txt @@ -493,6 +493,9 @@ add_executable(nvim ${NVIM_GENERATED_FOR_SOURCES} ${NVIM_GENERATED_FOR_HEADERS} ${EXTERNAL_SOURCES} ${EXTERNAL_HEADERS}) target_link_libraries(nvim ${NVIM_EXEC_LINK_LIBRARIES}) install_helper(TARGETS nvim) +if(MSVC) + install(FILES $<TARGET_PDB_FILE:nvim> DESTINATION ${CMAKE_INSTALL_BINDIR} OPTIONAL) +endif() set_property(TARGET nvim APPEND PROPERTY INCLUDE_DIRECTORIES ${LUA_PREFERRED_INCLUDE_DIRS}) |