improve build system
This commit is contained in:
parent
6d44c020b3
commit
4beac7a986
|
@ -4,3 +4,6 @@
|
|||
[submodule "matrix-commander"]
|
||||
path = matrix-commander
|
||||
url = https://github.com/8go/matrix-commander
|
||||
[submodule "src/cpp-httplib"]
|
||||
path = src/cpp-httplib
|
||||
url = https://github.com/yhirose/cpp-httplib
|
||||
|
|
|
@ -11,7 +11,7 @@ endif()
|
|||
|
||||
message("Using cmake flags: ${CMAKE_CXX_FLAGS}")
|
||||
|
||||
file(GLOB_RECURSE SOURCES src/*.cpp)
|
||||
include(src/CMakeLists.txt)
|
||||
add_executable(Portfolio ${SOURCES})
|
||||
|
||||
target_link_libraries(Portfolio PUBLIC stdc++ jsoncpp)
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
|
||||
file(GLOB SOURCES src/*.cpp)
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
#include "../cpp-httplib/httplib.h"
|
||||
#include "cpp-httplib/httplib.h"
|
||||
|
||||
#include "files.hpp"
|
||||
#include "contact.hpp"
|
||||
|
|
Loading…
Reference in New Issue