Skip to content

Commit

Permalink
GLOB and install pdb files
Browse files Browse the repository at this point in the history
  • Loading branch information
Ybalrid committed Apr 16, 2017
1 parent d84e41a commit 7b71aec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ endif()
add_library(BtOgre21 STATIC sources/BtOgreGP.cpp sources/BtOgrePG.cpp sources/BtOgreExtras.cpp include/BtOgre.hpp include/BtOgreExtras.h include/BtOgreGP.h include/BtOgrePG.h)
target_link_libraries(BtOgre21 ${BULLET_LIBRARIES} ${OGRE_LIBRARIES})

file(GLOB PDB_Files Debug/*.pdb RelWithDebInfo/*.pdb)

if(NOT PDB_Files STREQUAL "")
INSTALL(FILES PDB_Files DESTINATION "lib/BtOgre21")
endif()

INSTALL(TARGETS BtOgre21 DESTINATION "lib/BtOgre21")
INSTALL(FILES include/BtOgrePG.h include/BtOgreGP.h include/BtOgreExtras.h include/BtOgre.hpp DESTINATION "include/BtOgre21")
file (COPY CMake DESTINATION ${CMAKE_BINARY_DIR})
Expand Down

0 comments on commit 7b71aec

Please sign in to comment.