This commit is contained in:
Gerard Gascón 2025-06-08 00:21:41 +02:00
commit 2f3a28e89c
10 changed files with 150 additions and 0 deletions

3
src/CMakeLists.txt Normal file
View file

@ -0,0 +1,3 @@
add_library(src STATIC library.cpp)
target_include_directories(src PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

5
src/library.cpp Normal file
View file

@ -0,0 +1,5 @@
#include "library.h"
int hello() {
return 0;
}

6
src/library.h Normal file
View file

@ -0,0 +1,6 @@
#ifndef CPP_TEMPLATE_LIBRARY_H
#define CPP_TEMPLATE_LIBRARY_H
int hello();
#endif //CPP_TEMPLATE_LIBRARY_H