Changeset 74 in flair-src for branches/mavlink/tools/FlairGCS
- Timestamp:
- Sep 8, 2016, 3:54:36 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mavlink/tools/FlairGCS/CMakeLists.txt
r48 r74 3 3 include($ENV{FLAIR_ROOT}/flair-dev/cmake-modules/GlobalCmakeFlair.cmake) 4 4 5 SET(PROJECT_SOURCE_FILES 6 src/Manager.cpp 7 src/ConnectionLayout.cpp 8 src/main.cpp 9 src/UdtSocket.cpp 10 src/DataPlot1D.cpp 11 src/DataPlot2D.cpp 12 src/RangeFinderPlot.cpp 13 src/Picture.cpp 14 src/DataRemote.cpp 15 src/file_ui.cpp 16 src/FormLayout.cpp 17 src/Vector3DSpinBox.cpp 18 src/DoubleSpinBox.cpp 19 src/SpinBox.cpp 20 src/CheckBox.cpp 21 src/ComboBox.cpp 22 src/Tab.cpp 23 src/TabWidget.cpp 24 src/GroupBox.cpp 25 src/GridLayout.cpp 26 src/Layout.cpp 27 src/PushButton.cpp 28 src/TextEdit.cpp 29 src/Label.cpp 30 src/Map.cpp 31 src/mapwidget.cpp 32 src/Landmark.cpp 33 src/XmlWidget.cpp 34 src/ListWidget.cpp 35 ) 5 execute_process(COMMAND ${CMAKE_C_COMPILER} -dumpversion 6 OUTPUT_VARIABLE GCC_VERSION) 7 8 if (GCC_VERSION VERSION_GREATER 4.3 OR GCC_VERSION VERSION_EQUAL 4.3) 9 if (GCC_VERSION VERSION_GREATER 4.7 OR GCC_VERSION VERSION_EQUAL 4.7) 10 ADD_DEFINITIONS("-std=c++11") 11 else() 12 ADD_DEFINITIONS("-std=c++0x") 13 endif() 14 else() 15 message(STATUS "GCC version < 4.3, c+11 is not supported!") 16 endif() 17 18 FILE(GLOB PROJECT_SOURCE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp") 36 19 37 20 SET(FILES_TO_MOC
Note:
See TracChangeset
for help on using the changeset viewer.