mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-22 13:37:22 +00:00
ea5360cb99
* Update PlayerContainer.cpp fix: turn warnings into errors for the few warnings we get, at least make sure we listen to them now on unix platforms. Windows has too many right now to enable /WX resolve warning actually fix it Update CMakeLists.txt * detour pls * Update CMakeLists.txt * I HAVE 20 DOLLARS AND I NEED A WII GAME FOR MY KID * I HAVE 0 DOLLARS NOW * don't look don't look * Revert "don't look don't look" This reverts commit5603eb5980
. * Revert "Revert "don't look don't look"" This reverts commita334832a4d
. * could it be * we found one (but its already reported) not resolved yet though. * Revert "don't look don't look" This reverts commit5603eb5980
. * ignore warning for file * another one * Update .gitmodules * comments
20 lines
539 B
CMake
20 lines
539 B
CMake
set (SQLITE3_SOURCES
|
|
"CppSQLite3.cpp"
|
|
"sqlite3.c"
|
|
)
|
|
|
|
add_library (sqlite3 ${SQLITE3_SOURCES})
|
|
|
|
if(UNIX)
|
|
# Add warning disable flags and link Unix libraries to sqlite3
|
|
target_link_libraries(sqlite3 pthread dl m)
|
|
|
|
# -Wno-unused-result -Wno-unknown-pragmas -fpermissive
|
|
target_compile_options(sqlite3 PRIVATE)
|
|
if(NOT APPLE)
|
|
target_compile_options(sqlite3 PRIVATE "-Wno-return-local-addr" "-Wno-maybe-uninitialized")
|
|
else()
|
|
target_compile_options(sqlite3 PRIVATE "-Wno-return-stack-address" "-Wno-uninitialized")
|
|
endif()
|
|
endif()
|