mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
add bin_postprocess_target
This commit is contained in:
parent
94273e7f88
commit
7c3cdd08a0
@ -608,6 +608,7 @@ $[ODIR]/$[TARGET].pdb : $[ODIR]/$[TARGET].exe
|
||||
$[INSTALL_SCRIPTS:%=$[install_bin_dir]/%] \
|
||||
$[INSTALL_HEADERS:%=$[install_headers_dir]/%] \
|
||||
$[INSTALL_DATA:%=$[install_data_dir]/%] \
|
||||
$[if $[bin_postprocess_target],$[install_bin_dir]/$[bin_postprocess_target].exe] \
|
||||
$[INSTALL_CONFIG:%=$[install_config_dir]/%]
|
||||
|
||||
install-$[TARGET] : $[installed_files]
|
||||
@ -629,10 +630,20 @@ $[install_bin_dir]/$[TARGET].pdb : $[ODIR]/$[TARGET].pdb
|
||||
$[TAB] cp -f $[ODIR]/$[local] $[dest]
|
||||
#endif
|
||||
|
||||
#if $[bin_postprocess_target]
|
||||
|
||||
#define exename $[bin_postprocess_target].exe
|
||||
#define dest $[install_bin_dir]
|
||||
|
||||
$[ODIR]/$[bin_postprocess_target].exe : $[ODIR]/$[TARGET].exe
|
||||
$[TAB] $[bin_postprocess_cmd] $[ODIR]/$[TARGET].exe $[ODIR]/$[exename]
|
||||
|
||||
$[install_bin_dir]/$[bin_postprocess_target].exe : $[ODIR]/$[exename]
|
||||
$[TAB] cp -f $[ODIR]/$[exename] $[dest]
|
||||
#endif
|
||||
|
||||
#end bin_target
|
||||
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// The noinst_bin_targets and the test_bin_targets share the property
|
||||
// of being built (when requested), but having no install rules.
|
||||
@ -654,8 +665,6 @@ $[TAB] $[LINK_BIN_C]
|
||||
|
||||
#end noinst_bin_target test_bin_target
|
||||
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// Rules to run bison and/or flex as needed.
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user