implement Milestone 8: SQLite Database with injection prevention
This commit is contained in:
@@ -7,6 +7,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
# Find dependencies via vcpkg
|
||||
find_package(Lua REQUIRED)
|
||||
find_package(nlohmann_json CONFIG REQUIRED)
|
||||
find_package(unofficial-sqlite3 CONFIG REQUIRED)
|
||||
|
||||
# Sandbox library (the code being tested)
|
||||
add_library(mosis-sandbox STATIC
|
||||
@@ -19,6 +20,7 @@ add_library(mosis-sandbox STATIC
|
||||
../src/main/cpp/sandbox/json_api.cpp
|
||||
../src/main/cpp/sandbox/crypto_api.cpp
|
||||
../src/main/cpp/sandbox/virtual_fs.cpp
|
||||
../src/main/cpp/sandbox/database_manager.cpp
|
||||
)
|
||||
target_include_directories(mosis-sandbox PUBLIC
|
||||
../src/main/cpp/sandbox
|
||||
@@ -27,6 +29,7 @@ target_include_directories(mosis-sandbox PUBLIC
|
||||
target_link_libraries(mosis-sandbox PUBLIC
|
||||
${LUA_LIBRARIES}
|
||||
nlohmann_json::nlohmann_json
|
||||
unofficial::sqlite3::sqlite3
|
||||
)
|
||||
# Windows BCrypt for crypto API
|
||||
if(WIN32)
|
||||
|
||||
Reference in New Issue
Block a user