CMakeLists.txt 530 B

123456789101112131415161718
  1. # Copyright (c) 2008-2023 the Urho3D project
  2. # License: MIT
  3. # Define target name
  4. set (TARGET_NAME RampGenerator)
  5. # Define preprocessor macros
  6. if (MINGW AND (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 6.1.0 OR CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL 6.1.0) AND URHO3D_LIB_TYPE STREQUAL STATIC)
  7. # Workaround the "multiple definition of" linking issue in STATIC build
  8. else ()
  9. add_definitions (-DSTB_IMAGE_WRITE_IMPLEMENTATION)
  10. endif ()
  11. # Define source files
  12. define_source_files ()
  13. # Setup target
  14. setup_executable (TOOL)