Bump version to 1.0.2

This commit is contained in:
Václav Valíček 2020-05-16 23:42:11 +02:00
parent 273b5a830b
commit 8dc639e301
2 changed files with 5 additions and 3 deletions

View File

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

4
test.c
View File

@ -1,7 +1,9 @@
#include <stdio.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));
return 0;
}