Commit cac17504 authored by Ing. Miroslav Biňas PhD.'s avatar Ing. Miroslav Biňas PhD.
Browse files

Documentation is also installed

parent 4c258be6
......@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.8.9)
# Set project
project("Karel the Robot C Library" C)
set(PROJECT_VERSION_MAJOR 2016)
set(PROJECT_VERSION_MAJOR 2018)
set(PROJECT_VERSION_MINOR 1)
#For the Curses library to load
......@@ -28,6 +28,8 @@ target_link_libraries(karel ${CURSES_LIBRARIES})
# install library and header files to /usr/local/{lib,include}
install(TARGETS karel DESTINATION lib)
install(FILES "include/karel.h" DESTINATION include)
install(DIRECTORY "doc/" DESTINATION share/doc/libkarel USE_SOURCE_PERMISSIONS
PATTERN "CMakeLists.txt" EXCLUDE)
# add subdirectories
add_subdirectory(doc/examples)
......
......@@ -363,7 +363,7 @@ void turnOn(char* path){
// check correct position
if(column > world.width || row > world.height){
fprintf(stderr,
_("Error: Line %d: Block position is outside the world!\n"),
_("Error: Line %d: Beeper position is outside the world!\n"),
line);
exit(EXIT_FAILURE);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment