Buildsystem/CMake: Include core/script headerfiles in generated MSVC-projects.

- Still "work in progress", as in missing filters and MSVC folder layouts.
- external libraries not fully "headerified" (not really required)

--HG--
branch : trunk
This commit is contained in:
click
2010-07-29 21:08:16 +02:00
parent c44b601ac7
commit f213f2c7d9
13 changed files with 191 additions and 328 deletions
+14 -10
View File
@@ -10,14 +10,24 @@
########### authserver ###############
file(GLOB_RECURSE sources_authentication Authentication/*.cpp Authentication/*.h)
file(GLOB_RECURSE sources_realms Realms/*.cpp Realms/*.h)
file(GLOB_RECURSE sources_server Server/*.cpp Server/*.h)
set(authserver_SRCS
Authentication/AuthCodes.cpp
Realms/RealmList.cpp
Server/AuthSocket.cpp
Server/RealmSocket.cpp
${sources_authentication}
${sources_realms}
${sources_server}
Main.cpp
)
if( WIN32 )
set(authserver_SRCS
${authserver_SRCS}
authserver.rc
)
endif()
include_directories(
${ACE_INCLUDE_DIR}
${MYSQL_INCLUDE_DIR}
@@ -62,9 +72,6 @@ if( WIN32 )
target_link_libraries(
authserver
shared
trinitydatabase
trinityauth
trinityconfig
${MYSQL_LIBRARY}
${OPENSSL_LIBRARIES}
${OPENSSL_EXTRA_LIBRARIES}
@@ -73,9 +80,6 @@ else()
target_link_libraries(
authserver
shared
trinitydatabase
trinityauth
trinityconfig
${MYSQL_LIBRARY}
${OPENSSL_LIBRARIES}
${OSX_LIBS}