mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 03:15:07 -04:00
directory_if_unix, etc.
This commit is contained in:
parent
b553673718
commit
ec96e3d6b3
@ -245,6 +245,8 @@
|
||||
// or false (empty) when the directory is not to be built.
|
||||
#defer build_directory \
|
||||
$[and \
|
||||
$[or $[not $[DIRECTORY_IF_WINDOWS]],$[WINDOWS_PLATFORM]], \
|
||||
$[or $[not $[DIRECTORY_IF_UNIX]],$[UNIX_PLATFORM]], \
|
||||
$[or $[not $[DIRECTORY_IF_PYTHON]],$[HAVE_PYTHON]], \
|
||||
$[or $[not $[DIRECTORY_IF_NSPR]],$[HAVE_NSPR]], \
|
||||
$[or $[not $[DIRECTORY_IF_CRYPTO]],$[HAVE_CRYPTO]], \
|
||||
@ -277,6 +279,8 @@
|
||||
// the target is not to be built.
|
||||
#defer build_target \
|
||||
$[and \
|
||||
$[or $[not $[TARGET_IF_WINDOWS]],$[WINDOWS_PLATFORM]], \
|
||||
$[or $[not $[TARGET_IF_UNIX]],$[UNIX_PLATFORM]], \
|
||||
$[or $[not $[TARGET_IF_PYTHON]],$[HAVE_PYTHON]], \
|
||||
$[or $[not $[TARGET_IF_NSPR]],$[HAVE_NSPR]], \
|
||||
$[or $[not $[TARGET_IF_CRYPTO]],$[HAVE_CRYPTO]], \
|
||||
|
@ -38,6 +38,7 @@
|
||||
// $[bin_targets] the list of binaries. $[test_bin_targets] is the
|
||||
// list of binaries that are to be built only when specifically asked
|
||||
// for.
|
||||
#if $[build_directory]
|
||||
#define lib_targets $[active_target(metalib_target lib_target ss_lib_target noinst_lib_target):%=$[so_dir]/lib%.so]
|
||||
#define static_lib_targets $[active_target(static_lib_target):%=$[st_dir]/lib%.a]
|
||||
#define bin_targets $[active_target(bin_target noinst_bin_target sed_bin_target):%=$[st_dir]/%]
|
||||
@ -75,6 +76,8 @@
|
||||
#set so_sources
|
||||
#endif
|
||||
|
||||
#endif // $[build_directory]
|
||||
|
||||
// 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_st_sources $[filter_out %_src.cxx,$[filter %.cxx,$[st_sources]]]
|
||||
|
Loading…
x
Reference in New Issue
Block a user