It is now possible to use CMake on windows for proper build (PCH support included)

Merged PCH header into gamePCH since they became the same after these changes

--HG--
branch : trunk
rename : src/server/game/PrecompiledHeaders/NixCorePCH.cpp => src/server/game/PrecompiledHeaders/gamePCH.cpp
rename : src/server/game/PrecompiledHeaders/NixCorePCH.h => src/server/game/PrecompiledHeaders/gamePCH.h
This commit is contained in:
Shauren
2010-06-30 13:10:13 +02:00
parent b0d5071598
commit 2ea043484d
13 changed files with 390 additions and 39 deletions
+16
View File
@@ -20,6 +20,15 @@ set(shared_STAT_SRCS
Common.cpp
)
# Windows specific files
if(WIN32)
set(shared_STAT_SRCS
${shared_STAT_SRCS}
Debugging/WheatyExceptionReport.cpp
Utilities/ServiceWin32.cpp
)
endif()
include_directories(
${ACE_INCLUDE_DIR}
${CMAKE_BINARY_DIR}
@@ -43,10 +52,17 @@ include_directories(
add_library(shared STATIC ${shared_STAT_SRCS})
if(WIN32)
target_link_libraries(
shared
ace
)
else()
target_link_libraries(
shared
${ACE_LIBRARY}
)
endif()
########### trinityconfig ###############