sense_the_rythm

rythm game for ESense Earable
git clone git://source.orangerot.dev:/university/sense_the_rythm.git
Log | Files | Refs | README | LICENSE

CMakeLists.txt (974B)


      1 cmake_minimum_required(VERSION 3.13)
      2 project(runner LANGUAGES CXX)
      3 
      4 # Define the application target. To change its name, change BINARY_NAME in the
      5 # top-level CMakeLists.txt, not the value here, or `flutter run` will no longer
      6 # work.
      7 #
      8 # Any new source files that you add to the application should be added here.
      9 add_executable(${BINARY_NAME}
     10   "main.cc"
     11   "my_application.cc"
     12   "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc"
     13 )
     14 
     15 # Apply the standard set of build settings. This can be removed for applications
     16 # that need different build settings.
     17 apply_standard_settings(${BINARY_NAME})
     18 
     19 # Add preprocessor definitions for the application ID.
     20 add_definitions(-DAPPLICATION_ID="${APPLICATION_ID}")
     21 
     22 # Add dependency libraries. Add any application-specific dependencies here.
     23 target_link_libraries(${BINARY_NAME} PRIVATE flutter)
     24 target_link_libraries(${BINARY_NAME} PRIVATE PkgConfig::GTK)
     25 
     26 target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}")