Added "make install" target.

dev-ui
Michał Zieliński 2012-10-05 22:07:58 +02:00
parent 602273e04a
commit b7667cef35
3 changed files with 6 additions and 0 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)