CMakeLists.txt 998 B

1234567891011121314151617181920212223
  1. # The Flutter tooling requires that developers have a version of Visual Studio
  2. # installed that includes CMake 3.14 or later. You should not increase this
  3. # version, as doing so will cause the plugin to fail to compile for some
  4. # customers of the plugin.
  5. cmake_minimum_required(VERSION 3.14)
  6. # Project-level configuration.
  7. set(PROJECT_NAME "spine_flutter")
  8. project(${PROJECT_NAME} LANGUAGES CXX)
  9. # Invoke the build for native code shared with the other target platforms.
  10. # This can be changed to accomodate different builds.
  11. add_subdirectory("${CMAKE_CURRENT_SOURCE_DIR}/../src" "${CMAKE_CURRENT_BINARY_DIR}/shared")
  12. # List of absolute paths to libraries that should be bundled with the plugin.
  13. # This list could contain prebuilt libraries, or libraries created by an
  14. # external build triggered from this build file.
  15. set(spine_flutter_bundled_libraries
  16. # Defined in ../src/CMakeLists.txt.
  17. # This can be changed to accomodate different builds.
  18. $<TARGET_FILE:spine_flutter>
  19. PARENT_SCOPE
  20. )