mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-04-27 09:06:31 +00:00

* 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 commit 5603eb59803dc2f55d0f1f4b1ff692753a17b218. * Revert "Revert "don't look don't look"" This reverts commit a334832a4dcd6f932f5065012e0a5ac80ea6fa9a. * could it be * we found one (but its already reported) not resolved yet though. * Revert "don't look don't look" This reverts commit 5603eb59803dc2f55d0f1f4b1ff692753a17b218. * ignore warning for file * another one * Update .gitmodules * comments
16 lines
561 B
CMake
16 lines
561 B
CMake
set(DGAME_DINVENTORY_SOURCES
|
|
"EquippedItem.cpp"
|
|
"Inventory.cpp"
|
|
"Item.cpp"
|
|
"ItemSet.cpp"
|
|
"ItemSetPassiveAbility.cpp")
|
|
|
|
# Workaround for compiler bug where the optimized code could result in a memcpy of 0 bytes, even though that isnt possible.
|
|
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97185
|
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
|
set_source_files_properties("Item.cpp" PROPERTIES COMPILE_FLAGS "-Wno-stringop-overflow")
|
|
endif()
|
|
|
|
add_library(dInventory STATIC ${DGAME_DINVENTORY_SOURCES})
|
|
target_precompile_headers(dInventory REUSE_FROM dGameBase)
|