|
|
@@ -1,60 +1,62 @@
|
|
|
-#
|
|
|
-# Copyright (c) 2008-2013 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_DIR})
|
|
|
-
|
|
|
-# 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)
|
|
|
-add_subdirectory (11_Physics)
|
|
|
-add_subdirectory (12_PhysicsStressTest)
|
|
|
-add_subdirectory (13_Ragdolls)
|
|
|
-add_subdirectory (14_SoundEffects)
|
|
|
-add_subdirectory (15_Navigation)
|
|
|
-add_subdirectory (16_Chat)
|
|
|
-add_subdirectory (17_SceneReplication)
|
|
|
-add_subdirectory (18_CharacterDemo)
|
|
|
-add_subdirectory (19_VehicleDemo)
|
|
|
-add_subdirectory (20_HugeObjectCount)
|
|
|
-add_subdirectory (21_AngelScriptIntegration)
|
|
|
-if (ENABLE_LUA)
|
|
|
- add_subdirectory (22_LuaIntegration)
|
|
|
-endif ()
|
|
|
+#
|
|
|
+# Copyright (c) 2008-2013 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_DIR})
|
|
|
+
|
|
|
+# 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)
|
|
|
+add_subdirectory (11_Physics)
|
|
|
+add_subdirectory (12_PhysicsStressTest)
|
|
|
+add_subdirectory (13_Ragdolls)
|
|
|
+add_subdirectory (14_SoundEffects)
|
|
|
+add_subdirectory (15_Navigation)
|
|
|
+add_subdirectory (16_Chat)
|
|
|
+add_subdirectory (17_SceneReplication)
|
|
|
+add_subdirectory (18_CharacterDemo)
|
|
|
+add_subdirectory (19_VehicleDemo)
|
|
|
+add_subdirectory (20_HugeObjectCount)
|
|
|
+if (ENABLE_ANGELSCRIPT)
|
|
|
+ add_subdirectory (21_AngelScriptIntegration)
|
|
|
+endif ()
|
|
|
+if (ENABLE_LUA)
|
|
|
+ add_subdirectory (22_LuaIntegration)
|
|
|
+endif ()
|