diff --git a/CMakeLists.txt b/CMakeLists.txt index 77c2d8a..79ddaec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.9) -project(test_shared_library LANGUAGES C VERSION 1.0.1 DESCRIPTION "Shared C Library for testin") +project(test_shared_library LANGUAGES C VERSION 1.0.2 DESCRIPTION "Shared C Library for testing of various cmake configurations") include(GNUInstallDirs) add_library(test_shared_library SHARED test_shared_library.c test_shared_library.h) set(CMAKE_C_STANDARD 99) @@ -21,4 +21,4 @@ install(FILES ${CMAKE_BINARY_DIR}/test_shared_library.pc add_executable(test test.c) -target_link_libraries(test test_shared_library) \ No newline at end of file +target_link_libraries(test test_shared_library) diff --git a/test.c b/test.c index 51a6c2e..3dde80e 100644 --- a/test.c +++ b/test.c @@ -1,7 +1,9 @@ #include #include "test_shared_library.h" -int main(void){ +int main(void) { + printf("Program should print \"Hello World\" by calling library function " + "and return number 12.\n----\n"); printf("Hello result: %d\n", hello(12)); return 0; } \ No newline at end of file