mirror of
https://github.com/nasa/trick.git
synced 2024-12-19 21:27:54 +00:00
parent
a0faa289df
commit
7998791679
6
test/SIM_makefile_overrides/.gitignore
vendored
Normal file
6
test/SIM_makefile_overrides/.gitignore
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
*.swp
|
||||
S_*
|
||||
build
|
||||
gmon.out
|
||||
makefile
|
||||
trick
|
3
test/SIM_makefile_overrides/models/Baz.c++
Normal file
3
test/SIM_makefile_overrides/models/Baz.c++
Normal file
@ -0,0 +1,3 @@
|
||||
#include "Baz.hh"
|
||||
|
||||
Baz::Baz() {}
|
11
test/SIM_makefile_overrides/models/Baz.hh
Normal file
11
test/SIM_makefile_overrides/models/Baz.hh
Normal file
@ -0,0 +1,11 @@
|
||||
// @trick_parse{everything}
|
||||
// @trick_link_dependency{Baz.c++}
|
||||
|
||||
class Baz {
|
||||
|
||||
public:
|
||||
int i;
|
||||
|
||||
Baz();
|
||||
|
||||
};
|
3
test/SIM_makefile_overrides/models/Foo.cpp
Normal file
3
test/SIM_makefile_overrides/models/Foo.cpp
Normal file
@ -0,0 +1,3 @@
|
||||
#include "Foo.hh"
|
||||
|
||||
Foo::Foo() {}
|
11
test/SIM_makefile_overrides/models/Foo.hh
Normal file
11
test/SIM_makefile_overrides/models/Foo.hh
Normal file
@ -0,0 +1,11 @@
|
||||
// @trick_parse{everything}
|
||||
// @trick_link_dependency{Foo.cpp}
|
||||
|
||||
class Foo {
|
||||
|
||||
public:
|
||||
int i;
|
||||
|
||||
Foo();
|
||||
|
||||
};
|
0
test/SIM_makefile_overrides/models/Foo.potato
Normal file
0
test/SIM_makefile_overrides/models/Foo.potato
Normal file
11
test/SIM_makefile_overrides/models/include/Bar.hh
Normal file
11
test/SIM_makefile_overrides/models/include/Bar.hh
Normal file
@ -0,0 +1,11 @@
|
||||
// @trick_parse{everything}
|
||||
// @trick_link_dependency{src/Bar.cxx}
|
||||
|
||||
class Bar {
|
||||
|
||||
public:
|
||||
int i;
|
||||
|
||||
Bar();
|
||||
|
||||
};
|
3
test/SIM_makefile_overrides/models/makefile_overrides
Normal file
3
test/SIM_makefile_overrides/models/makefile_overrides
Normal file
@ -0,0 +1,3 @@
|
||||
objects: TRICK_CXXFLAGS += -Wfloat-equal
|
||||
cpp_objects: TRICK_CXXFLAGS += -Wmissing-include-dirs
|
||||
cxx_objects: TRICK_CXXFLAGS += -Wuseless-cast
|
@ -0,0 +1,11 @@
|
||||
// @trick_parse{everything}
|
||||
// @trick_link_dependency{potato/src/Flapjack.cpp}
|
||||
|
||||
class Flapjack {
|
||||
|
||||
public:
|
||||
int i;
|
||||
|
||||
Flapjack();
|
||||
|
||||
};
|
@ -0,0 +1 @@
|
||||
objects: TRICK_CXXFLAGS += -Wextra
|
@ -0,0 +1,3 @@
|
||||
#include "potato/include/Flapjack.hh"
|
||||
|
||||
Flapjack::Flapjack() {}
|
3
test/SIM_makefile_overrides/models/src/Bar.cxx
Normal file
3
test/SIM_makefile_overrides/models/src/Bar.cxx
Normal file
@ -0,0 +1,3 @@
|
||||
#include "include/Bar.hh"
|
||||
|
||||
Bar::Bar() {}
|
@ -0,0 +1 @@
|
||||
cxx_objects: TRICK_CXX_FLAGS += -Wall
|
3
test/SIM_makefile_overrides/models/stupid/Stupid.cpp
Normal file
3
test/SIM_makefile_overrides/models/stupid/Stupid.cpp
Normal file
@ -0,0 +1,3 @@
|
||||
#include "stupid/Stupid.hh"
|
||||
|
||||
Stupid::Stupid() {}
|
11
test/SIM_makefile_overrides/models/stupid/Stupid.hh
Normal file
11
test/SIM_makefile_overrides/models/stupid/Stupid.hh
Normal file
@ -0,0 +1,11 @@
|
||||
// @trick_parse{everything}
|
||||
// @trick_link_dependency{stupid/this_name_doesnt_even_matter.a}
|
||||
|
||||
class Stupid {
|
||||
|
||||
public:
|
||||
int i;
|
||||
|
||||
Stupid();
|
||||
|
||||
};
|
@ -0,0 +1,10 @@
|
||||
// @trick_parse{everything}
|
||||
|
||||
class ReallyStupid {
|
||||
|
||||
public:
|
||||
int i;
|
||||
|
||||
ReallyStupid();
|
||||
|
||||
};
|
@ -0,0 +1,3 @@
|
||||
#include "stupid/include/ReallyStupid.hh"
|
||||
|
||||
ReallyStupid::ReallyStupid() {}
|
@ -13,7 +13,8 @@ COMPILE_DIRS = \
|
||||
SIM_test_ip \
|
||||
SIM_test_sched \
|
||||
SIM_test_templates \
|
||||
SIM_threads
|
||||
SIM_threads \
|
||||
SIM_makefile_overrides
|
||||
|
||||
SIMS_NEEDING_TEST = \
|
||||
SIM_alloc_test \
|
||||
|
Loading…
Reference in New Issue
Block a user