
Updates the platform shims in dev/manual_tests so that Windows and Linux can be built. I had to update the Windows shims, because I was unable to build a Windows app there. Also updates the analyze.dart script to report all license issues simultaneously instead of just dying after the first failure. The only substantive code changes are in dev/bots/analyze.dart and dev/bots/test/analyze_test.dart
18 lines
572 B
CMake
18 lines
572 B
CMake
cmake_minimum_required(VERSION 3.14)
|
|
project(runner LANGUAGES CXX)
|
|
|
|
add_executable(${BINARY_NAME} WIN32
|
|
"flutter_window.cpp"
|
|
"main.cpp"
|
|
"utils.cpp"
|
|
"win32_window.cpp"
|
|
"${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc"
|
|
"Runner.rc"
|
|
"runner.exe.manifest"
|
|
)
|
|
apply_standard_settings(${BINARY_NAME})
|
|
target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX")
|
|
target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app)
|
|
target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}")
|
|
add_dependencies(${BINARY_NAME} flutter_assemble)
|