]> rtime.felk.cvut.cz Git - hubacji1/simple-stage.git/commitdiff
Add meson build
authorJiri Vlasak <jiri.vlasak.2@cvut.cz>
Tue, 15 Jun 2021 12:19:41 +0000 (14:19 +0200)
committerJiri Vlasak <jiri.vlasak.2@cvut.cz>
Tue, 15 Jun 2021 12:28:24 +0000 (14:28 +0200)
meson.build [new file with mode: 0644]
worlds/test_track.world

diff --git a/meson.build b/meson.build
new file mode 100644 (file)
index 0000000..b343b50
--- /dev/null
@@ -0,0 +1,11 @@
+project('simple-stage', 'cpp', default_options: ['warning_level=3'])
+stginc = include_directories('/path/to/Stage/libstage')
+stgdep = meson.get_compiler('cpp').find_library(
+       'stage', dirs: ['/path/to/stg/lib'],
+)
+
+library('goforward',
+       'ctrl/goforward.cc',
+       dependencies: stgdep,
+       include_directories: stginc,
+)
index 993a9253c66b4ff5f200e01312f30d0fb7992c01..d34238bac90872dd981888655be1209f4b737baf 100644 (file)
@@ -18,5 +18,5 @@ car (
        pose [ -2.27 -8.5 0 0 ]
        name "car"
        color "blue"
-       ctrl "goforward"
+       ctrl "libgoforward"
 )