Another one

This commit is contained in:
Akkadius 2023-12-16 17:48:22 -06:00
parent b2bf1d2b6f
commit 87b1dc4b03
3 changed files with 11 additions and 1 deletions

View File

@ -787,6 +787,9 @@ INCLUDE_DIRECTORIES(Patches SocketLib StackWalker)
ADD_LIBRARY(common ${common_sources} ${common_headers} ${repositories})
TARGET_PRECOMPILE_HEADERS(common PRIVATE pch/pch.h)
IF (UNIX)
SET_SOURCE_FILES_PROPERTIES("SocketLib/Mime.cpp" PROPERTY COMPILE_FLAGS -Wno-unused-result)
SET_SOURCE_FILES_PROPERTIES("patches/sod.cpp" "patches/sof.cpp" "patches/rof.cpp" "patches/rof2.cpp" "patches/uf.cpp" PROPERTIES COMPILE_FLAGS -O0)

View File

@ -22,9 +22,14 @@
#include <algorithm>
#include <utility>
#include <tuple>
#include <fstream>
#include <cstdio>
// fmt
#include <fmt/format.h>
//#include <fmt/format.h>
# include <fmt/core.h>
# define FMT_STRING(s) s
// lua
#include "lua.hpp"

View File

@ -78,6 +78,8 @@ ADD_EXECUTABLE(world ${world_sources} ${world_headers})
INSTALL(TARGETS world RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
TARGET_PRECOMPILE_HEADERS(world PRIVATE ../common/pch/pch.h)
ADD_DEFINITIONS(-DWORLD)
TARGET_LINK_LIBRARIES(world ${SERVER_LIBS})