Skip to content

Commit a22e204

Browse files
a1batrosseagleivg
authored andcommitted
cmake: add xr_install where it's needed
1 parent de200eb commit a22e204

File tree

19 files changed

+27
-0
lines changed

19 files changed

+27
-0
lines changed

Externals/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
include(luajit.cmake)
22
add_subdirectory(luabind)
3+
xr_install_file(luabind)
34
add_subdirectory(cximage)
45
#add_subdirectory(lzo)
56
#add_subdirectory(NVTT)

Externals/OPCODE/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}__SOURCES} ${${PROJECT_NAME}
1515

1616
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
1717
target_link_libraries(${PROJECT_NAME} xrCore)
18+
xr_install(${PROJECT_NAME})

Externals/luajit.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ endif()
319319
add_library( ${LIB_NAME} SHARED ${LJCORE_C} ${DEPS} )
320320
set_target_properties ( ${LIB_NAME} PROPERTIES PREFIX "" )
321321
target_link_libraries ( ${LIB_NAME} ${LIBS} )
322+
xr_install(${LIB_NAME})
322323
#endif()
323324

324325
if(NOT ${BUILD_LIB_ONLY})

Externals/ode/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include ${CMAKE_CURRENT_SOURCE_D
1313
add_definitions(-DdSINGLE -D_SECURE_SCL=0 -DLINUX -D_cdecl= -D__forceinline=inline)
1414

1515
add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}__SOURCES} ${${PROJECT_NAME}__INCLUDES})
16+
xr_install(${PROJECT_NAME})

src/Layers/xrAPI/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ add_definitions(-DXRAPI_EXPORTS)
66

77
add_library(${PROJECT_NAME} SHARED "xrAPI.cpp" "stdafx.h")
88
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
9+
xr_install(${PROJECT_NAME})
10+

src/Layers/xrRenderPC_GL/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,5 @@ add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}__SOURCES} ${${PROJECT_NAME}
4444

4545
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
4646
target_link_libraries(${PROJECT_NAME} xrCore xrCDB xrEngine xrParticles xrScriptEngine xrAPI GLEW luabind ${LUA_LIBRARIES})
47+
xr_install(${PROJECT_NAME})
48+

src/Layers/xrRenderPC_R1/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}__SOURCES} ${${PROJECT_NAME}
2222

2323
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
2424
target_link_libraries(${PROJECT_NAME} xrCore luabind LuaJIT xrCDB xrEngine xrParticles xrScriptEngine xrAPI xrMiscMath ${SDL_LIBRARIES})
25+
xr_install(${PROJECT_NAME})
26+

src/utils/xrLC_Light/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}__SOURCES} ${${PROJECT_NAME}
2121

2222
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
2323
target_link_libraries(${PROJECT_NAME} xrCore xrCDB zlib xrLCUtil)
24+
xr_install(${PROJECT_NAME})

src/xrAICore/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ cotire(${PROJECT_NAME})
3131

3232
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
3333
target_link_libraries(${PROJECT_NAME} xrCore xrMiscMath xrAPI xrScriptEngine luabind ${LUA_LIBRARIES})
34+
xr_install(${PROJECT_NAME})

src/xrCDB/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ cotire(${PROJECT_NAME})
1919

2020
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
2121
target_link_libraries(${PROJECT_NAME} xrCore xrMiscMath OPCODE xrAPI ${SDL_LIBRARIES})
22+
xr_install(${PROJECT_NAME})

0 commit comments

Comments
 (0)