Commit Graph

173 Commits

Author SHA1 Message Date
Derek Bankieris
894c531541 Skip paths in TRICK_EXT_LIB_DIRS in get_lib_deps
Closes #871
2019-09-27 10:42:03 -05:00
Alex Lin
f117839d2f Add support for Mac's removal of /usr/include #810
Add line to ignore all files from /usr/local/include explicitly while
creating makefile for swig processing.
2019-07-10 08:27:13 -05:00
Scott Fennell
82bae3b0d0 #836 remove all S_default.dat stuff 2019-07-09 15:58:26 -05:00
Derek Bankieris
67decaed24 Add support for -isystem
Closes #407
2019-06-20 10:12:33 -05:00
Derek Bankieris
6c9326f760 Add makefile function for target-specific variable
Closes #672
2019-06-19 15:57:26 -05:00
dbankieris
053bcfe0b2
Merge pull request #825 from nasa/824
Fix TRICK_VER in make_makefile_swig
2019-06-19 15:32:19 -05:00
Alex Lin
b778e16bc1 Deprecate TRICK_CPPC in trick-gte #826
Added a new hash of deprecated values into trick-gte.  If a deprecated
value is requested, a warning message is printed with the value.  If
all of the values are printed, the deprecated values are printed in
their own section.
2019-06-19 13:55:45 -05:00
Derek Bankieris
6bb061738e Fix TRICK_VER in make_makefile_swig
Fixes #824
2019-06-19 13:32:52 -05:00
Alex Lin
04d50df7cd
TRICK_HOST_CPU incorrect with gcc 7 #598 (#816)
Changed the regular expression that grabs the gcc version to accept
either 1 digit or 2.
2019-06-18 11:00:21 -05:00
Alex Lin
497f11f132
Make TRICK_CXX variable to specify c++ compiler #767 (#815)
Changed all references of TRICK_CPPC to TRICK_CXX.  Added a
warning message that TRICK_CPPC has been deprecated.
2019-06-18 11:00:08 -05:00
Derek Bankieris
9f3175d01b Use TRICK_CXXFLAGS for include paths & defines
Fixes #819
2019-06-18 10:52:37 -05:00
Derek Bankieris
1721fc6652 Remove SWIG_*_CUSTOM_OUTDIR
Closes #803
2019-06-03 11:41:39 -05:00
dbankieris
f7a7419e0d
Merge pull request #799 from nasa/798
Redo accidentally undone changes
2019-06-03 09:42:32 -05:00
dbankieris
b68eb1b5e6
Merge pull request #797 from nasa/796
Clean up inconsistencies in make_makefile_swig
2019-06-03 09:42:15 -05:00
dbankieris
38d769e995
Merge pull request #795 from nasa/794
Remove make target "sie"
2019-06-03 09:41:59 -05:00
Derek Bankieris
893249457f Immediately add file to md5s after check
Fixes #753

(cherry picked from commit 497f50e152)
2019-05-31 15:56:36 -05:00
Derek Bankieris
6fc9e5d1ef Lift get_paths into its own module
Fixes #752

(cherry picked from commit bde2ec5158)

Conflicts:
	libexec/trick/convert_swig
	libexec/trick/make_makefile_swig
2019-05-31 15:54:49 -05:00
Derek Bankieris
2197b3edc2 Clean up inconsistencies in make_makefile_swig
Closes #796
2019-05-31 15:39:57 -05:00
Derek Bankieris
2c6c19e840 Remove make target "sie"
Closes #794
2019-05-31 15:08:55 -05:00
Derek Bankieris
bf1ac4a2c6 Remove redundant prerequisite for "all" target
Closes #792
2019-05-31 14:51:38 -05:00
Derek Bankieris
7b0e84e58e Clean up duplication in makefiles
Normalize behavior of TRICK_VERBOSE_BUILD

Closes #746
2019-05-30 15:47:07 -05:00
Derek Bankieris
cf5c087ef0 Autogenerate SWIG dependencies
Add flags to SWIG invocation for PYTHON MODULE files
Make dependency files order-only prerequisites

Refs #505
2019-05-30 09:52:06 -05:00
Derek Bankieris
7b7ecaa0c4 Trickification: autogenerate SWIG dependencies
Refs #505
2019-05-29 10:45:26 -05:00
Derek Bankieris
99d856a17f Autogenerate SWIG dependencies
Require SWIG >= 2.0

Closes #505
2019-05-29 09:03:19 -05:00
Derek Bankieris
3e3bc02cd2 Correct TRICK_CONVERT_SWIG_FLAGS in Makefile_swig
Fixes #770
2019-05-10 15:30:17 -05:00
Derek Bankieris
e6509df362 Improve scoping of SWIG %template directives
Refs #768 & Refs #769
2019-05-10 15:19:33 -05:00
dbankieris
ef1d105bfb
Improve parsing of base-clauses in S_define
A base-clause is the stuff in an inheritance list after the colon in a
class declaration.
https://en.cppreference.com/w/cpp/language/derived_class

Closes #723
Closes #733
2019-05-08 08:41:50 -05:00
Alex Lin
4d82c1589d Python init code does not work when using SWIG 4.0 #760
Forgot to reverse the import order for modules users are adding to
namespaces.  Interesting, the unit tests only failed on the Mac for
this.
2019-05-03 09:14:05 -05:00
Derek Bankieris
497f50e152 Immediately add file to md5s after check
Fixes #753
2019-04-11 08:55:41 -05:00
Derek Bankieris
bde2ec5158 Lift get_paths into its own module
Fixes #752
2019-04-09 13:28:16 -05:00
Scott Fennell
49e243b54a
Merge branch 'master' into VERBOSE-synonym 2019-04-02 13:34:52 -05:00
Scott Fennell
644a9a0e00 #741 add VERBOSE synonym everywhere 2019-03-21 09:28:52 -05:00
Alex Lin
41f151f2ee Adding doxygen style python module desgnation.
Adding another file to example that shows 2 files in same namespace.
2019-03-14 09:33:50 -05:00
Alex Lin
62948308b6 Adding back a lost capability, but better this time. The user can now
specify a python module name where the class and functions will be
visible in python.  With care the user can mimic the C++ namespaces their
models reside in, but it isn't perfect nor automatic.  It's still pretty
neat.
2019-03-13 16:17:08 -05:00
Alex Lin
bd4c25d927 convert_swig incorrectly excluding files #717
Added another grep to remove blank paths after abs_path is run.  abs_path will return blank if a path does not exist.  We want to remove that from the result.
2018-12-04 13:18:38 -06:00
Scott Fennell
6d5ce8d7bb #712 add TRICK_CPFLAGS to trick-gte output 2018-12-03 09:49:46 -06:00
Alex Lin
ca99386026 Trick S_define parser should return nonzero when it fails to find included header #694
Added S_source.hh as a dependency to S_main.exe.
2018-11-14 09:51:25 -06:00
Scott Fennell
422dcaacef remove runtime dependancy on java.se.ee 2018-11-05 14:32:02 -06:00
Scott Fennell
f2fdd33986 newline end of file 2018-11-05 14:05:39 -06:00
Scott Fennell
c34d2c6947 move dependance on java.se.ee to third party jars to support java 11 2018-11-05 14:01:52 -06:00
jmpenn
c112290265
Replace iText Java PDF library with PDFBox. (#664) 2018-09-04 16:59:06 -05:00
Scott Fennell
d42f75c507
Merge pull request #640 from nasa/swig-flags
#618 add TRICK_SWIG_FLAGS, TRICK_SYSTEM_SWIG_FLAGS, TRICK_SWIG_CFLAGS, TRICK_SYSTEM_SWIG_CFLAGS...
2018-07-09 10:45:39 -05:00
Scott Fennell
bf7ce2db3c #618 revert/remove TRICK_SYSTEM_SWIG_FLAGS. Wiki and trickify.mk update still required 2018-06-29 11:06:50 -05:00
anon
ef634c9f48 #618 add TRICK_SWIG_FLAGS, TRICK_SYSTEM_SWIG_FLAGS, TRICK_SWIG_CFLAGS, TRICK_SYSTEM_SWIG_CFLAGS. *_FLAGS are swig options, *_CFLAGS are g++ compiler options for swig objects. TRICK_SYSTEM_* options should not be changed by trick users 2018-06-27 13:58:44 -05:00
Derek Bankieris
e14e6bc1ec Fix make_makefile_src on CentOS 6
Closes #632
2018-06-21 11:40:00 -05:00
Derek Bankieris
3172be86b1 Fix special treatment of "src" AGAIN
Great feature. Really, I love it.

Refs #627
2018-06-11 13:10:36 -05:00
Derek Bankieris
a0faa289df Restore support for "batch compiling"
In LIBRARY DEPENDENCIES, any file ending in ".a" will cause all
files in that directory and any contained "src" directory to be
compiled. What a terrible "feature".

Refs #627
2018-06-11 13:10:36 -05:00
Derek Bankieris
98b621fd6e In "src", look for makefile_overrides one level up
I don't like this "feature", but it's baggage we're stuck with for now.

Refs #626
2018-06-11 13:10:36 -05:00
Derek Bankieris
334273fa81 Make everything about make_makefile_src better
Fixes #626 #627
2018-06-11 13:10:36 -05:00
Derek Bankieris
ea0878af26 Fix "objects:" in makefile_overrides
Fixes #626
2018-06-11 13:10:36 -05:00