Bump version to 1.0.2
This commit is contained in:
parent
273b5a830b
commit
8dc639e301
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 3.9)
|
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)
|
include(GNUInstallDirs)
|
||||||
add_library(test_shared_library SHARED test_shared_library.c test_shared_library.h)
|
add_library(test_shared_library SHARED test_shared_library.c test_shared_library.h)
|
||||||
set(CMAKE_C_STANDARD 99)
|
set(CMAKE_C_STANDARD 99)
|
||||||
|
|
2
test.c
2
test.c
|
@ -2,6 +2,8 @@
|
||||||
#include "test_shared_library.h"
|
#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));
|
printf("Hello result: %d\n", hello(12));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user