Database class added
This commit is contained in:
parent
d8b39eab0a
commit
1e8c4eac5f
3 changed files with 49 additions and 1 deletions
|
@ -1,13 +1,17 @@
|
|||
|
||||
|
||||
find_package(Boost 1.62 REQUIRED)
|
||||
find_package(SQLite3 REQUIRED)
|
||||
|
||||
set(CORE_HEADERS
|
||||
entity.h
|
||||
database.h
|
||||
)
|
||||
set(CORE_SOURCES
|
||||
entity.cpp
|
||||
database.cpp
|
||||
)
|
||||
|
||||
add_library(core STATIC ${CORE_SOURCES})
|
||||
target_link_libraries(core Boost::boost)
|
||||
target_link_libraries(core Boost::boost)
|
||||
target_link_libraries(core sqlite3)
|
Loading…
Add table
Add a link
Reference in a new issue