mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 11:28:17 -04:00
don't generate build rules if directory is excluded
This commit is contained in:
parent
bb0ccd2497
commit
51b8232d16
@ -44,6 +44,7 @@
|
|||||||
// For a source directory, build a single Makefile with rules to build
|
// For a source directory, build a single Makefile with rules to build
|
||||||
// each target.
|
// each target.
|
||||||
|
|
||||||
|
#if $[build_directory]
|
||||||
// This is the real set of lib_targets we'll be building. On Windows,
|
// This is the real set of lib_targets we'll be building. On Windows,
|
||||||
// we don't build the shared libraries which are included on metalibs.
|
// we don't build the shared libraries which are included on metalibs.
|
||||||
#define real_lib_targets
|
#define real_lib_targets
|
||||||
@ -103,6 +104,7 @@
|
|||||||
#set st_sources $[so_sources] $[st_sources]
|
#set st_sources $[so_sources] $[st_sources]
|
||||||
#set so_sources
|
#set so_sources
|
||||||
#endif
|
#endif
|
||||||
|
#endif // $[build_directory]
|
||||||
|
|
||||||
// And these are the various source files, extracted out by type.
|
// And these are the various source files, extracted out by type.
|
||||||
#define cxx_so_sources $[filter_out %_src.cxx,$[filter %.cxx,$[so_sources]]]
|
#define cxx_so_sources $[filter_out %_src.cxx,$[filter %.cxx,$[so_sources]]]
|
||||||
|
@ -51,6 +51,7 @@
|
|||||||
// For a source directory, build a single Makefile with rules to build
|
// For a source directory, build a single Makefile with rules to build
|
||||||
// each target.
|
// each target.
|
||||||
|
|
||||||
|
#if $[build_directory]
|
||||||
// This is the real set of lib_targets we'll be building. On Windows,
|
// This is the real set of lib_targets we'll be building. On Windows,
|
||||||
// we don't build the shared libraries which are included on metalibs.
|
// we don't build the shared libraries which are included on metalibs.
|
||||||
#define real_lib_targets
|
#define real_lib_targets
|
||||||
@ -110,6 +111,7 @@
|
|||||||
#set st_sources $[so_sources] $[st_sources]
|
#set st_sources $[so_sources] $[st_sources]
|
||||||
#set so_sources
|
#set so_sources
|
||||||
#endif
|
#endif
|
||||||
|
#endif // $[build_directory]
|
||||||
|
|
||||||
// And these are the various source files, extracted out by type.
|
// And these are the various source files, extracted out by type.
|
||||||
#define cxx_so_sources $[filter_out %_src.cxx,$[filter %.cxx,$[so_sources]]]
|
#define cxx_so_sources $[filter_out %_src.cxx,$[filter %.cxx,$[so_sources]]]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user