export sellers as json file
This commit is contained in:
parent
b2d696ccb5
commit
045bc8dd20
8 changed files with 80 additions and 11 deletions
|
@ -3,7 +3,8 @@ set(Boost_USE_STATIC_LIBS ON)
|
|||
find_package(Boost 1.62 COMPONENTS date_time REQUIRED)
|
||||
find_package(SQLite3 REQUIRED)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(XLNT REQUIRED xlnt)
|
||||
pkg_check_modules(XLNT REQUIRED xlnt>=1.3)
|
||||
pkg_check_modules(JSONCPP REQUIRED jsoncpp)
|
||||
|
||||
set(CORE_SOURCES
|
||||
database.cpp
|
||||
|
@ -13,10 +14,11 @@ set(CORE_SOURCES
|
|||
sale.cpp
|
||||
marketplace.cpp
|
||||
excelreader.cpp
|
||||
jsonutil
|
||||
)
|
||||
|
||||
add_library(core STATIC ${CORE_SOURCES})
|
||||
target_link_libraries(core Boost::boost Boost::date_time sqlite3 ${XLNT_LIBRARIES})
|
||||
target_link_libraries(core Boost::boost Boost::date_time sqlite3 ${XLNT_LIBRARIES} ${JSONCPP_LIBRARIES})
|
||||
if (WIN32)
|
||||
target_link_libraries(core bcrypt)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue