Added "make install" target.
parent
602273e04a
commit
b7667cef35
|
@ -131,3 +131,5 @@ endif()
|
||||||
|
|
||||||
# Subdirectory with sources
|
# Subdirectory with sources
|
||||||
add_subdirectory(src bin)
|
add_subdirectory(src bin)
|
||||||
|
|
||||||
|
INSTALL_FILES(/share/games/colobot ../data)
|
||||||
|
|
|
@ -17,3 +17,5 @@ if(${CBOT_STATIC})
|
||||||
else()
|
else()
|
||||||
add_library(CBot SHARED ${SOURCES})
|
add_library(CBot SHARED ${SOURCES})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
INSTALL_TARGETS(/lib CBot)
|
||||||
|
|
|
@ -192,3 +192,5 @@ link_directories(${CMAKE_CURRENT_SOURCE_DIR}/CBot)
|
||||||
add_executable(colobot ${SOURCES})
|
add_executable(colobot ${SOURCES})
|
||||||
|
|
||||||
target_link_libraries(colobot ${LIBS})
|
target_link_libraries(colobot ${LIBS})
|
||||||
|
|
||||||
|
INSTALL_TARGETS(/games colobot)
|
||||||
|
|
Loading…
Reference in New Issue