Last change
on this file was 365, checked in by Sanahuja Guillaume, 4 years ago |
change simu apps compilation to avoid problem with mixing host and toolchain libs
(log2@glibc_2.29 error when compiling on ubuntu 20.05 or mint 20)
now compile with host g++ and libs (except filelib, irrlicht, quat, udt and vrpn) for simu apps using the macro: FLAIR_DEMO_HOST_CXX
|
File size:
372 bytes
|
Rev | Line | |
---|
[21] | 1 | PROJECT(CircleFollower_simulator)
|
---|
| 2 | cmake_minimum_required(VERSION 2.8)
|
---|
| 3 |
|
---|
[23] | 4 | SET(FLAIR_USE_SIMULATOR TRUE)
|
---|
| 5 | SET(FLAIR_USE_SIMULATOR_GL TRUE)
|
---|
[21] | 6 |
|
---|
[302] | 7 | include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
|
---|
[21] | 8 |
|
---|
| 9 | SET(SRC_FILES
|
---|
[297] | 10 | ./src/main.cpp
|
---|
[21] | 11 | )
|
---|
| 12 |
|
---|
[365] | 13 | FLAIR_DEMO_HOST_CXX(${PROJECT_NAME} "${SRC_FILES}"
|
---|
[302] | 14 | DEST_DIR CircleFollower
|
---|
| 15 | COPY_RESOURCES
|
---|
[21] | 16 | )
|
---|
Note:
See
TracBrowser
for help on using the repository browser.