File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ add_subdirectory(xrCore)
77#add_subdirectory(xrEngine)
88#add_subdirectory(xrGame)
99#add_subdirectory(xrNetServer)
10- # add_subdirectory(xrParticles)
10+ add_subdirectory (xrParticles )
1111add_subdirectory (xrPhysics )
1212add_subdirectory (xrScriptEngine )
1313add_subdirectory (xrSound )
Original file line number Diff line number Diff line change 1+ project (xrParticles)
2+
3+ list (APPEND DIRS
4+ "."
5+ )
6+
7+ add_dir ("${DIRS} " )
8+
9+ include_directories (
10+ ${CMAKE_CURRENT_SOURCE_DIR } /..
11+ ${CMAKE_CURRENT_SOURCE_DIR } /../../sdk/include
12+ )
13+
14+ #list(REMOVE_ITEM ${PROJECT_NAME}__SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/./xr_cda.cpp")
15+ #list(REMOVE_ITEM ${PROJECT_NAME}__INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/./xr_cda.h")
16+
17+ add_definitions (-DXR_PARTICLES_EXPORTS )
18+ add_library (${PROJECT_NAME } SHARED ${${PROJECT_NAME } __SOURCES} ${${PROJECT_NAME } __INCLUDES} )
19+
20+ set_target_properties (${PROJECT_NAME } PROPERTIES PREFIX "" )
21+ target_link_libraries (${PROJECT_NAME } xrCore )
You can’t perform that action at this time.
0 commit comments