CMakeLists.txt 955 B

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