source: flair-src/trunk/demos/Gps/simulator/CMakeLists.txt @ 365

Last change on this file since 365 was 365, checked in by Sanahuja Guillaume, 12 months 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: 348 bytes
Line 
1PROJECT(Gps_simulator)
2cmake_minimum_required(VERSION 2.8)
3
4SET(FLAIR_USE_SIMULATOR TRUE)
5SET(FLAIR_USE_SIMULATOR_GL TRUE)
6
7include($ENV{FLAIR_ROOT}/flair-src/cmake-modules/GlobalCmakeFlair.cmake)
8
9SET(SRC_FILES
10        src/main.cpp
11)
12
13FLAIR_DEMO_HOST_CXX(${PROJECT_NAME} "${SRC_FILES}"
14           DEST_DIR Gps
15           COPY_RESOURCES
16)
Note: See TracBrowser for help on using the repository browser.