CMakeLists.txt 526 B

1234567891011121314151617
  1. # Copyright (c) 2008-2023 the Urho3D project
  2. # License: MIT
  3. # Define target name
  4. set (TARGET_NAME Recast)
  5. # Define source files
  6. define_source_files (GLOB_CPP_PATTERNS Source/*.cpp GLOB_H_PATTERNS Include/*.h)
  7. # Define dependency libs
  8. set (INCLUDE_DIRS Include)
  9. # Setup target
  10. setup_library ()
  11. # Install headers for building the Urho3D library
  12. install_header_files (DIRECTORY Include/ DESTINATION ${DEST_INCLUDE_DIR}/ThirdParty/Recast FILES_MATCHING PATTERN *.h BUILD_TREE_ONLY) # Note: the trailing slash is significant