You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
572 B

2 years ago
  1. cmake_minimum_required(VERSION 3.14)
  2. project(runner LANGUAGES CXX)
  3. add_executable(${BINARY_NAME} WIN32
  4. "flutter_window.cpp"
  5. "main.cpp"
  6. "utils.cpp"
  7. "win32_window.cpp"
  8. "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc"
  9. "Runner.rc"
  10. "runner.exe.manifest"
  11. )
  12. apply_standard_settings(${BINARY_NAME})
  13. target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX")
  14. target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app)
  15. target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}")
  16. add_dependencies(${BINARY_NAME} flutter_assemble)