CMakeLists.txt 509 B

123456789101112131415161718192021222324
  1. # Copyright (c) 2008-2023 the Urho3D project
  2. # License: MIT
  3. if (NOT URHO3D_PHYSICS)
  4. return ()
  5. endif ()
  6. # Define target name
  7. set (TARGET_NAME 19_VehicleDemo)
  8. # Define source files
  9. define_source_files (EXTRA_H_FILES ${COMMON_SAMPLE_H_FILES})
  10. # Setup target with resource copying
  11. if (EMSCRIPTEN)
  12. # Override the Urho3D default
  13. if (URHO3D_TESTING AND URHO3D_TEST_TIMEOUT LESS 15)
  14. set (URHO3D_TEST_TIMEOUT 15)
  15. endif ()
  16. endif ()
  17. setup_main_executable ()
  18. # Setup test cases
  19. setup_test ()