|
|
@@ -10,15 +10,19 @@
|
|
|
dxgsg
|
|
|
|
|
|
#define COMBINED_SOURCES $[TARGET]_composite1.cxx
|
|
|
-
|
|
|
- #define SOURCES \
|
|
|
- config_wdxdisplay.h wdxGraphicsPipe.h wdxGraphicsWindow.cxx wdxGraphicsWindow.h
|
|
|
+
|
|
|
+ // need to install these due to external projects that link directly with libpandadx (bartop)
|
|
|
+ #define INSTALL_HEADERS \
|
|
|
+ config_wdxdisplay.h wdxGraphicsPipe.h wdxGraphicsWindow.h
|
|
|
|
|
|
#define INCLUDED_SOURCES \
|
|
|
config_wdxdisplay.cxx wdxGraphicsPipe.cxx
|
|
|
|
|
|
- #define INSTALL_HEADERS \
|
|
|
- config_wdxdisplay.h wdxGraphicsPipe.h wdxGraphicsWindow.h
|
|
|
+ // note SOURCES shoult NOT include INCLUDED_SOURCES, that would cause a double build
|
|
|
+ // SOURCES should be headers and separately-built cxx files
|
|
|
+ // build wdxGraphicsWindow.cxx separately since its big
|
|
|
+
|
|
|
+ #define SOURCES wdxGraphicsWindow.cxx $[INSTALL_HEADERS]
|
|
|
|
|
|
#end lib_target
|
|
|
|