| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- #
- # Copyright (c) 2008-2014 the Urho3D project.
- #
- # Permission is hereby granted, free of charge, to any person obtaining a copy
- # of this software and associated documentation files (the "Software"), to deal
- # in the Software without restriction, including without limitation the rights
- # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- # copies of the Software, and to permit persons to whom the Software is
- # furnished to do so, subject to the following conditions:
- #
- # The above copyright notice and this permission notice shall be included in
- # all copies or substantial portions of the Software.
- #
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- # THE SOFTWARE.
- #
- # Set project name
- project (Urho3D-Samples)
- # Find Urho3D library
- find_package (Urho3D REQUIRED)
- include_directories (${URHO3D_INCLUDE_DIRS})
- # Include common to all samples
- set (COMMON_SAMPLE_H_FILES "${CMAKE_CURRENT_SOURCE_DIR}/Sample.h" "${CMAKE_CURRENT_SOURCE_DIR}/Sample.inl")
- # Define dependency libs
- set (INCLUDE_DIRS_ONLY ${CMAKE_CURRENT_SOURCE_DIR})
- # Add samples
- add_subdirectory (01_HelloWorld)
- add_subdirectory (02_HelloGUI)
- add_subdirectory (03_Sprites)
- add_subdirectory (04_StaticScene)
- add_subdirectory (05_AnimatingScene)
- add_subdirectory (06_SkeletalAnimation)
- add_subdirectory (07_Billboards)
- add_subdirectory (08_Decals)
- add_subdirectory (09_MultipleViewports)
- add_subdirectory (10_RenderToTexture)
- if (URHO3D_PHYSICS)
- add_subdirectory (11_Physics)
- add_subdirectory (12_PhysicsStressTest)
- add_subdirectory (13_Ragdolls)
- endif ()
- add_subdirectory (14_SoundEffects)
- if (URHO3D_NAVIGATION)
- add_subdirectory (15_Navigation)
- endif ()
- if (URHO3D_NETWORK)
- add_subdirectory (16_Chat)
- endif ()
- if (URHO3D_NETWORK AND URHO3D_PHYSICS)
- add_subdirectory (17_SceneReplication)
- add_subdirectory (18_CharacterDemo)
- add_subdirectory (19_VehicleDemo)
- endif ()
- add_subdirectory (20_HugeObjectCount)
- if (URHO3D_ANGELSCRIPT)
- add_subdirectory (21_AngelScriptIntegration)
- endif ()
- if (URHO3D_LUA)
- add_subdirectory (22_LuaIntegration)
- endif ()
- add_subdirectory (23_Water)
- if (URHO3D_URHO2D)
- add_subdirectory (24_Urho2DSprite)
- add_subdirectory (25_Urho2DParticle)
- add_subdirectory (27_Urho2DPhysics)
- add_subdirectory (28_Urho2DPhysicsRope)
- add_subdirectory (32_Urho2DConstraints)
- add_subdirectory (33_Urho2DSpriterAnimation)
- add_subdirectory (36_Urho2DTileMap)
- endif ()
- add_subdirectory (26_ConsoleInput)
- add_subdirectory (29_SoundSynthesis)
- add_subdirectory (30_LightAnimation)
- add_subdirectory (31_MaterialAnimation)
- add_subdirectory (34_DynamicGeometry)
- add_subdirectory (35_SignedDistanceFieldText)
- add_subdirectory (37_UIDrag)
|