2018-07-05 16:29:43 +02:00
|
|
|
|
2018-07-06 10:54:44 +02:00
|
|
|
|
|
|
|
find_package(Boost 1.62 REQUIRED)
|
2018-07-06 13:30:23 +02:00
|
|
|
find_package(SQLite3 REQUIRED)
|
2018-07-06 10:54:44 +02:00
|
|
|
|
2018-07-09 16:06:39 +02:00
|
|
|
#set(CORE_HEADERS
|
|
|
|
# entity.h
|
|
|
|
# database.h
|
|
|
|
#)
|
|
|
|
|
2018-07-05 16:29:43 +02:00
|
|
|
set(CORE_SOURCES
|
2018-07-06 13:30:23 +02:00
|
|
|
database.cpp
|
2018-07-09 16:06:39 +02:00
|
|
|
entity.cpp
|
|
|
|
seller.cpp
|
|
|
|
article.cpp
|
2018-07-05 16:29:43 +02:00
|
|
|
)
|
|
|
|
|
2018-07-06 10:54:44 +02:00
|
|
|
add_library(core STATIC ${CORE_SOURCES})
|
2018-07-06 13:30:23 +02:00
|
|
|
target_link_libraries(core Boost::boost)
|
|
|
|
target_link_libraries(core sqlite3)
|