blob: 8bdc7a03c892aa982dfdb69980bb2c8721d5820f [file] [log] [blame]
brians343bc112013-02-10 01:53:46 +00001{
2 'variables': {
3 'loop_files': [
4 'DriveTrain.q',
5 ]
6 },
7 'targets': [
8 {
9 'target_name': 'control_loops',
10 'type': 'static_library',
11 'sources': ['<@(loop_files)'],
12 'variables': {
13 'header_path': 'frc971/control_loops',
14 },
15 'dependencies': [
brians343bc112013-02-10 01:53:46 +000016 '<(AOS)/common/common.gyp:control_loop_queues',
17 '<(AOS)/common/common.gyp:queues',
18 ],
19 'export_dependent_settings': [
brians343bc112013-02-10 01:53:46 +000020 '<(AOS)/common/common.gyp:control_loop_queues',
21 '<(AOS)/common/common.gyp:queues',
22 ],
23 'includes': ['../../aos/build/queues.gypi'],
24 },
25 {
26 'target_name': 'DriveTrain',
27 'type': 'executable',
28 'sources': [
29 'DriveTrain.cc',
30 ],
31 'dependencies': [
32 '<(AOS)/build/aos.gyp:logging',
33 '<(AOS)/common/common.gyp:controls',
brians343bc112013-02-10 01:53:46 +000034 'control_loops',
35 '<(DEPTH)/frc971/queues/queues.gyp:queues',
36 '<(EXTERNALS):eigen',
Brian Silvermanf665d692013-02-17 22:11:39 -080037 '<(AOS)/atom_code/atom_code.gyp:init',
brians343bc112013-02-10 01:53:46 +000038 ],
39 },
40 ],
41}