init
This commit is contained in:
commit
2f3a28e89c
10 changed files with 150 additions and 0 deletions
3
src/CMakeLists.txt
Normal file
3
src/CMakeLists.txt
Normal 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
5
src/library.cpp
Normal file
|
@ -0,0 +1,5 @@
|
|||
#include "library.h"
|
||||
|
||||
int hello() {
|
||||
return 0;
|
||||
}
|
6
src/library.h
Normal file
6
src/library.h
Normal file
|
@ -0,0 +1,6 @@
|
|||
#ifndef CPP_TEMPLATE_LIBRARY_H
|
||||
#define CPP_TEMPLATE_LIBRARY_H
|
||||
|
||||
int hello();
|
||||
|
||||
#endif //CPP_TEMPLATE_LIBRARY_H
|
Loading…
Add table
Add a link
Reference in a new issue