|
|
@@ -1,16 +1,5 @@
|
|
|
-set(P3DCONFIG_HEADERS
|
|
|
- config_dconfig.h dconfig.I dconfig.h)
|
|
|
+# Yes, INTERFACE: don't build it, there's no code!
|
|
|
+# We're only doing this to put the .h file on the path.
|
|
|
+add_library(p3dconfig INTERFACE)
|
|
|
|
|
|
-set(P3DCONFIG_SOURCES
|
|
|
- config_dconfig.cxx dconfig.cxx)
|
|
|
-
|
|
|
-composite_sources(p3dconfig P3DCONFIG_SOURCES)
|
|
|
-
|
|
|
-add_component_library(p3dconfig NOINIT SYMBOL BUILDING_DTOOL_DCONFIG
|
|
|
- ${P3DCONFIG_HEADERS} ${P3DCONFIG_SOURCES})
|
|
|
-target_link_libraries(p3dconfig p3prc)
|
|
|
-
|
|
|
-if(NOT BUILD_METALIBS)
|
|
|
- install(TARGETS p3dconfig DESTINATION lib RUNTIME DESTINATION bin)
|
|
|
-endif()
|
|
|
-install(FILES ${P3DCONFIG_HEADERS} DESTINATION include/panda3d)
|
|
|
+install(FILES dconfig.h DESTINATION include/panda3d)
|