mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Merge git://github.com/TrinityCore/TrinityCore into 4.3.4
This commit is contained in:
@@ -3,7 +3,7 @@ new file mode 100644
|
||||
index 0000000..acd3d5a
|
||||
--- /dev/null
|
||||
+++ b/dep/acelite/ace/CMakeLists.txt
|
||||
@@ -0,0 +1,337 @@
|
||||
@@ -0,0 +1,348 @@
|
||||
+# Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
|
||||
+#
|
||||
+# This file is free software; as a special exception the author gives
|
||||
@@ -325,6 +325,11 @@ index 0000000..acd3d5a
|
||||
+ XTI_ATM_Mcast.cpp
|
||||
+)
|
||||
+
|
||||
+if (USE_COREPCH)
|
||||
+ set(ace_PCH_HDR PrecompiledHeaders/WinAcePCH.h)
|
||||
+ set(ace_PCH_SRC PrecompiledHeaders/WinAcePCH.cpp)
|
||||
+endif()
|
||||
+
|
||||
+include_directories(
|
||||
+ ${CMAKE_SOURCE_DIR}/dep/acelite
|
||||
+ ${CMAKE_CURRENT_SOURCE_DIR}/PrecompiledHeaders
|
||||
@@ -336,9 +341,15 @@ index 0000000..acd3d5a
|
||||
+
|
||||
+add_definitions(-DACE_BUILD_DLL)
|
||||
+
|
||||
+add_library(ace SHARED ${ace_STAT_SRCS})
|
||||
+add_library(ace SHARED
|
||||
+ ${ace_STAT_SRCS}
|
||||
+ ${ace_PCH_SRC}
|
||||
+)
|
||||
+
|
||||
+add_native_precompiled_header(ace ${CMAKE_CURRENT_SOURCE_DIR}/PrecompiledHeaders/WinAcePCH)
|
||||
+# Generate precompiled header
|
||||
+if( USE_COREPCH )
|
||||
+ add_cxx_pch(ace ${ace_PCH_HDR} ${ace_PCH_SRC})
|
||||
+endif()
|
||||
+
|
||||
+install(TARGETS ace RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}")
|
||||
diff --git a/dep/acelite/ace/PrecompiledHeaders/WinAcePCH.cpp b/dep/acelite/ace/PrecompiledHeaders/WinAcePCH.cpp
|
||||
|
||||
@@ -320,6 +320,11 @@ set(ace_STAT_SRCS
|
||||
XTI_ATM_Mcast.cpp
|
||||
)
|
||||
|
||||
if (USE_COREPCH)
|
||||
set(ace_PCH_HDR PrecompiledHeaders/WinAcePCH.h)
|
||||
set(ace_PCH_SRC PrecompiledHeaders/WinAcePCH.cpp)
|
||||
endif()
|
||||
|
||||
include_directories(
|
||||
${CMAKE_SOURCE_DIR}/dep/acelite
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/PrecompiledHeaders
|
||||
@@ -331,8 +336,14 @@ set_source_files_properties(Atomic_Op_Sparc.c Rtems_init.c PROPERTIES LANGUAGE C
|
||||
|
||||
add_definitions(-DACE_BUILD_DLL)
|
||||
|
||||
add_library(ace SHARED ${ace_STAT_SRCS})
|
||||
add_library(ace SHARED
|
||||
${ace_STAT_SRCS}
|
||||
${ace_PCH_SRC}
|
||||
)
|
||||
|
||||
add_native_precompiled_header(ace ${CMAKE_CURRENT_SOURCE_DIR}/PrecompiledHeaders/WinAcePCH)
|
||||
# Generate precompiled header
|
||||
if( USE_COREPCH )
|
||||
add_cxx_pch(ace ${ace_PCH_HDR} ${ace_PCH_SRC})
|
||||
endif()
|
||||
|
||||
install(TARGETS ace RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
@@ -10,3 +10,16 @@ index 3469b81..9fe098d 100644
|
||||
#endif
|
||||
|
||||
|
||||
diff --git a/dep/g3dlite/include/G3D/platform.h b/dep/g3dlite/include/G3D/platform.h
|
||||
index c8d2f0b..11093f4 100644
|
||||
--- a/dep/g3dlite/include/G3D/platform.h
|
||||
+++ b/dep/g3dlite/include/G3D/platform.h
|
||||
@@ -57,7 +57,7 @@
|
||||
#elif defined(__linux__)
|
||||
#define G3D_LINUX
|
||||
#elif defined(__APPLE__)
|
||||
- #define G3D_OSX
|
||||
+ #define G3D_LINUX
|
||||
|
||||
// Prevent OS X fp.h header from being included; it defines
|
||||
// pi as a constant, which creates a conflict with G3D
|
||||
|
||||
Reference in New Issue
Block a user