mirror of
https://github.com/nasa/trick.git
synced 2025-01-18 02:40:08 +00:00
JITInput files not working
Added TRICK_SYSTEM_CXXFLAGS and TRICK_SYSTEM_CFLAGS to the gte list of variables stored in a simulation. These variables are used to compile JIT input files. refs #104
This commit is contained in:
parent
8fb1b72011
commit
119e7908d3
@ -97,6 +97,8 @@ sub gte (@) {
|
||||
$def{"TRICK_PRINT_CMD"} = "lpr" ;
|
||||
$def{"TRICK_PRINTER_NAME"} = "" ;
|
||||
$def{"TRICK_SFLAGS"} = "" ;
|
||||
$def{"TRICK_SYSTEM_CFLAGS"} = "" ;
|
||||
$def{"TRICK_SYSTEM_CXXFLAGS"} = "" ;
|
||||
$def{"TRICK_USER_HOME"} = "$ENV{HOME}/trick_sims" ;
|
||||
$def{"TRICK_USER_CSHRC"} = "$ENV{HOME}/.Trick_user_cshrc" ;
|
||||
$def{"TRICK_USER_LINK_LIBS"} = "" ;
|
||||
|
@ -137,6 +137,7 @@ int Trick::JITInputFile::compile(std::string file_name) {
|
||||
// rule to compile cpp file
|
||||
outfile << object_fullpath_name << ": " << file_name << std::endl ;
|
||||
outfile << "\t" << get_trick_env((char *)"TRICK_CPPC") << " " << get_trick_env((char *)"TRICK_CXXFLAGS") ;
|
||||
outfile << " " << get_trick_env((char *)"TRICK_SYSTEM_CXXFLAGS") ;
|
||||
outfile << " -MMD -c -fPIC -o $@ $<" << std::endl << std::endl ;
|
||||
// rule to clean
|
||||
outfile << "clean:" << std::endl ;
|
||||
|
Loading…
Reference in New Issue
Block a user