creek

The AI Image Editor of 2030

linux/runner/CMakeLists.txt (974B)


 1cmake_minimum_required(VERSION 3.13)
 2project(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.
 9add_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.
17apply_standard_settings(${BINARY_NAME})
18
19# Add preprocessor definitions for the application ID.
20add_definitions(-DAPPLICATION_ID="${APPLICATION_ID}")
21
22# Add dependency libraries. Add any application-specific dependencies here.
23target_link_libraries(${BINARY_NAME} PRIVATE flutter)
24target_link_libraries(${BINARY_NAME} PRIVATE PkgConfig::GTK)
25
26target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}")