OLD | NEW |
1 #!/bin/bash | 1 #!/bin/bash |
2 # Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file | 2 # Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
3 # for details. All rights reserved. Use of this source code is governed by a | 3 # for details. All rights reserved. Use of this source code is governed by a |
4 # BSD-style license that can be found in the LICENSE.md file. | 4 # BSD-style license that can be found in the LICENSE.md file. |
5 | 5 |
6 # Temporary script for testing the circular buffer. | 6 # Temporary script for testing the circular buffer. |
7 | 7 |
8 g++ \ | 8 g++ \ |
9 -I. \ | 9 -I. \ |
10 -DFLETCH_TARGET_OS_POSIX \ | 10 -DDARTINO_TARGET_OS_POSIX \ |
11 --std=gnu++11 \ | 11 --std=gnu++11 \ |
12 platforms/stm/disco_fletch/src/circular_buffer_test.cc \ | 12 platforms/stm/disco_dartino/src/circular_buffer_test.cc \ |
13 platforms/stm/disco_fletch/src/circular_buffer.cc \ | 13 platforms/stm/disco_dartino/src/circular_buffer.cc \ |
14 src/shared/assert.cc \ | 14 src/shared/assert.cc \ |
15 src/shared/platform_posix.cc src/shared/platform_linux.cc \ | 15 src/shared/platform_posix.cc src/shared/platform_linux.cc \ |
16 src/shared/utils.cc | 16 src/shared/utils.cc |
17 | 17 |
18 ./a.out | 18 ./a.out |
OLD | NEW |