|
|
@@ -193,6 +193,13 @@ function(add_engine_dependencies target_name)
|
|
|
add_dependencies(${target_name} BansheeMono BansheeSL BansheeOISInput BansheePhysX RenderBeast SBansheeEngine)
|
|
|
endfunction()
|
|
|
|
|
|
+function(add_subdirectory_optional subdir_name)
|
|
|
+ get_filename_component(fullPath ${subdir_name} ABSOLUTE)
|
|
|
+ if(EXISTS ${fullPath}/CMakeLists.txt)
|
|
|
+ add_subdirectory(${subdir_name})
|
|
|
+ endif()
|
|
|
+endfunction()
|
|
|
+
|
|
|
set_property(GLOBAL PROPERTY USE_FOLDERS TRUE)
|
|
|
|
|
|
# Code generation for script bindings
|
|
|
@@ -258,6 +265,9 @@ if(BUILD_EDITOR OR (INCLUDE_ALL_IN_WORKFLOW AND MSVC))
|
|
|
add_subdirectory(Game)
|
|
|
endif()
|
|
|
|
|
|
+## Local experimental projects (not part of main repository)
|
|
|
+add_subdirectory_optional(Experimental/PBS)
|
|
|
+
|
|
|
## Managed projects
|
|
|
if(MSVC)
|
|
|
if(BUILD_EDITOR)
|