Fixing up Windows build.
This commit is contained in:
parent
32ace0fcac
commit
5d32592126
22 changed files with 247994 additions and 53 deletions
|
@ -1,7 +1,11 @@
|
|||
set(SQLite3_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/src/third_party/sqlite3")
|
||||
set(SQLite3_SOURCE_FILE "${CMAKE_SOURCE_DIR}/src/third_party/sqlite3/sqlite3.c")
|
||||
|
||||
list(APPEND database_LIB_INCLUDES
|
||||
Database.cpp
|
||||
DatabaseManager.cpp
|
||||
database_interfaces/SqliteInterface.cpp)
|
||||
database_interfaces/SqliteInterface.cpp
|
||||
${SQLite3_SOURCE_FILE})
|
||||
|
||||
add_library(database SHARED ${database_LIB_INCLUDES})
|
||||
|
||||
|
@ -11,6 +15,4 @@ target_include_directories(database PUBLIC
|
|||
"${SQLite3_INCLUDE_DIR}"
|
||||
)
|
||||
set_property(TARGET database PROPERTY FOLDER src)
|
||||
set_target_properties( database PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON )
|
||||
|
||||
target_link_libraries(database PUBLIC ${SQLite3_LIBRARIES})
|
||||
set_target_properties( database PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON )
|
Loading…
Add table
Add a link
Reference in a new issue