@@ -50,28 +50,38 @@ install(
5050 LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR} " COMPONENT OpenXRay
5151)
5252
53- install (FILES
53+ install (
54+ FILES
5455 $<TARGET_PDB_FILE :xr_3da >
55- $<TARGET_PDB_FILE :xrAICore >
56- $<TARGET_PDB_FILE :xrAPI >
57- $<TARGET_PDB_FILE :xrCDB >
58- $<TARGET_PDB_FILE :xrCore >
59- $<TARGET_PDB_FILE :xrEngine >
60- $<TARGET_PDB_FILE :xrGame >
61- $<TARGET_PDB_FILE :xrGameSpy >
62- $<TARGET_PDB_FILE :xrLuabind >
63- $<TARGET_PDB_FILE :xrMaterialSystem >
64- $<TARGET_PDB_FILE :xrNetServer >
65- $<TARGET_PDB_FILE :xrODE >
66- $<TARGET_PDB_FILE :xrOPCODE >
67- $<TARGET_PDB_FILE :xrParticles >
68- $<TARGET_PDB_FILE :xrPhysics >
69- $<TARGET_PDB_FILE :xrRender_GL >
70- $<TARGET_PDB_FILE :xrRender_R4 >
71- $<TARGET_PDB_FILE :xrScriptEngine >
72- $<TARGET_PDB_FILE :xrSound >
73- $<TARGET_PDB_FILE :xrUICore >
7456 DESTINATION "${CMAKE_INSTALL_BINDIR} "
7557 COMPONENT Debug
7658 OPTIONAL
7759)
60+
61+ if (BUILD_SHARED_LIBS )
62+ install (
63+ FILES
64+ $<TARGET_PDB_FILE :xrAICore >
65+ $<TARGET_PDB_FILE :xrAPI >
66+ $<TARGET_PDB_FILE :xrCDB >
67+ $<TARGET_PDB_FILE :xrCore >
68+ $<TARGET_PDB_FILE :xrEngine >
69+ $<TARGET_PDB_FILE :xrGame >
70+ $<TARGET_PDB_FILE :xrGameSpy >
71+ $<TARGET_PDB_FILE :xrLuabind >
72+ $<TARGET_PDB_FILE :xrMaterialSystem >
73+ $<TARGET_PDB_FILE :xrNetServer >
74+ $<TARGET_PDB_FILE :xrODE >
75+ $<TARGET_PDB_FILE :xrOPCODE >
76+ $<TARGET_PDB_FILE :xrParticles >
77+ $<TARGET_PDB_FILE :xrPhysics >
78+ $<TARGET_PDB_FILE :xrRender_GL >
79+ $<TARGET_PDB_FILE :xrRender_R4 >
80+ $<TARGET_PDB_FILE :xrScriptEngine >
81+ $<TARGET_PDB_FILE :xrSound >
82+ $<TARGET_PDB_FILE :xrUICore >
83+ DESTINATION "${CMAKE_INSTALL_BINDIR} "
84+ COMPONENT Debug
85+ OPTIONAL
86+ )
87+ endif ()
0 commit comments