Skip to content

Commit

Permalink
CMake (MSVC): Install PDB file
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghabry committed Dec 7, 2018
1 parent ff05952 commit 9018f49
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,10 @@ include(GNUInstallDirs)
install(TARGETS ${PROJECT_NAME}_exe
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})

if(MSVC)
install(FILES $<TARGET_PDB_FILE:${PROJECT_NAME}_exe> DESTINATION ${CMAKE_INSTALL_BINDIR} OPTIONAL)
endif()

# manpage
# Handled as extra target "man"
set(MAN_NAME easyrpg-player.6)
Expand Down

0 comments on commit 9018f49

Please sign in to comment.