File tree Expand file tree Collapse file tree 5 files changed +11
-5
lines changed Expand file tree Collapse file tree 5 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 11#add_subdirectory(utils)
2- # add_subdirectory(Layers)
2+ add_subdirectory (Layers)
33#add_subdirectory(xrMisc)
44#add_subdirectory(xrAICore)
55#add_subdirectory(xrCDB)
Original file line number Diff line number Diff line change 1+ add_subdirectory (xrAPI)
Original file line number Diff line number Diff line change 1+ include_directories (${CMAKE_CURRENT_SOURCE_DIR} /../.. ${CMAKE_CURRENT_SOURCE_DIR} /../../../sdk/include )
2+
3+ add_library (xrAPI SHARED "xrAPI.cpp" "stdafx.h" )
4+
5+ set_target_properties (xrAPI PROPERTIES PREFIX "" )
Original file line number Diff line number Diff line change 1- macro (add_dir DIRS)
1+ macro (add_dir DIRS PROJECT_NAME )
22 foreach (dir ${DIRS} )
33 message ( "adding " ${dir} )
44 include_directories (${dir} )
55 file ( GLOB ${dir} __INCLUDES_H ${dir} *.h)
66 file ( GLOB ${dir} __INCLUDES_HPP ${dir} *.hpp)
7- list ( APPEND XRCORE__INCLUDES ${${dir} __INCLUDES_H} ${${dir} __INCLUDES_HPP} )
7+ list ( APPEND ${PROJECT_NAME} __INCLUDES ${${dir} __INCLUDES_H} ${${dir} __INCLUDES_HPP} )
88 file ( GLOB ${dir} __SOURCES ${dir} *.cpp)
9- list ( APPEND XRCORE__SOURCES ${${dir} __SOURCES} )
9+ list ( APPEND ${PROJECT_NAME} __SOURCES ${${dir} __SOURCES} )
1010 endforeach ()
1111endmacro ()
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ add_dir (
1010 "Text"
1111 "Threading"
1212 "XML"
13- )
13+ xrCore )
1414
1515message ( "path " ${CMAKE_CURRENT_SOURCE_DIR} )
1616
You can’t perform that action at this time.
0 commit comments