aboutsummaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/Auth/CMakeLists.txt17
-rw-r--r--src/shared/CMakeLists.txt29
-rw-r--r--src/shared/Config/CMakeLists.txt15
-rw-r--r--src/shared/Database/CMakeLists.txt38
-rw-r--r--src/shared/vmap/CMakeLists.txt35
5 files changed, 134 insertions, 0 deletions
diff --git a/src/shared/Auth/CMakeLists.txt b/src/shared/Auth/CMakeLists.txt
new file mode 100644
index 00000000000..f0714509e1d
--- /dev/null
+++ b/src/shared/Auth/CMakeLists.txt
@@ -0,0 +1,17 @@
+
+########### next target ###############
+
+SET(trinityauth_STAT_SRCS
+ AuthCrypt.cpp
+ AuthCrypt.h
+ BigNumber.cpp
+ BigNumber.h
+ Hmac.cpp
+ Hmac.h
+ Sha1.cpp
+ Sha1.h
+ md5.c
+ md5.h
+)
+
+add_library(trinityauth STATIC ${trinityauth_STAT_SRCS})
diff --git a/src/shared/CMakeLists.txt b/src/shared/CMakeLists.txt
new file mode 100644
index 00000000000..006fa284c5d
--- /dev/null
+++ b/src/shared/CMakeLists.txt
@@ -0,0 +1,29 @@
+
+add_subdirectory(vmap)
+add_subdirectory(Auth)
+add_subdirectory(Config)
+add_subdirectory(Database)
+
+########### next target ###############
+
+SET(shared_STAT_SRCS
+ Base.cpp
+ Base.h
+ ByteBuffer.h
+ Common.cpp
+ Common.h
+ Errors.h
+ Log.cpp
+ Log.h
+ Mthread.cpp
+ Mthread.h
+ ProgressBar.cpp
+ ProgressBar.h
+ Timer.h
+ Util.cpp
+ Util.h
+ WorldPacket.h
+ SystemConfig.h
+)
+
+add_library(shared STATIC ${shared_STAT_SRCS})
diff --git a/src/shared/Config/CMakeLists.txt b/src/shared/Config/CMakeLists.txt
new file mode 100644
index 00000000000..54c3d80b869
--- /dev/null
+++ b/src/shared/Config/CMakeLists.txt
@@ -0,0 +1,15 @@
+
+########### next target ###############
+
+SET(trinityconfig_STAT_SRCS
+ dotconfpp/dotconfpp.cpp
+ dotconfpp/dotconfpp.h
+ dotconfpp/mempool.cpp
+ dotconfpp/mempool.h
+ Config.cpp
+ Config.h
+ ConfigEnv.h
+)
+
+add_library(trinityconfig STATIC ${trinityconfig_STAT_SRCS})
+
diff --git a/src/shared/Database/CMakeLists.txt b/src/shared/Database/CMakeLists.txt
new file mode 100644
index 00000000000..a819a66dec7
--- /dev/null
+++ b/src/shared/Database/CMakeLists.txt
@@ -0,0 +1,38 @@
+SET(trinitydatabase_STAT_SRCS
+ DBCStores.cpp
+ DBCStores.h
+ DBCStructure.h
+ DBCfmt.cpp
+ Database.cpp
+ Database.h
+ DatabaseEnv.h
+ DatabaseImpl.h
+ DatabaseMysql.cpp
+ DatabasePostgre.cpp
+ DatabaseMysql.h
+ DatabasePostgre.h
+ DatabaseSqlite.cpp
+ DatabaseSqlite.h
+#Brian likes men
+ Field.cpp
+ Field.h
+ MySQLDelayThread.h
+ PGSQLDelayThread.h
+ QueryResult.h
+ QueryResultMysql.cpp
+ QueryResultMysql.h
+ QueryResultPostgre.cpp
+ QueryResultPostgre.h
+ QueryResultSqlite.cpp
+ QueryResultSqlite.h
+ SQLStorage.cpp
+ SQLStorage.h
+ SqlDelayThread.cpp
+ SqlDelayThread.h
+ SqlOperations.cpp
+ SqlOperations.h
+ dbcfile.cpp
+ dbcfile.h
+)
+
+add_library(trinitydatabase STATIC ${trinitydatabase_STAT_SRCS})
diff --git a/src/shared/vmap/CMakeLists.txt b/src/shared/vmap/CMakeLists.txt
new file mode 100644
index 00000000000..9ed30c0b44f
--- /dev/null
+++ b/src/shared/vmap/CMakeLists.txt
@@ -0,0 +1,35 @@
+
+########### next target ###############
+
+SET(vmaps_STAT_SRCS
+ AABSPTree.h
+ BaseModel.cpp
+ BaseModel.h
+ CoordModelMapping.cpp
+ CoordModelMapping.h
+ DebugCmdLogger.cpp
+ DebugCmdLogger.h
+ IVMapManager.h
+ ManagedModelContainer.cpp
+ ManagedModelContainer.h
+ ModelContainer.cpp
+ ModelContainer.h
+ NodeValueAccess.h
+ ShortBox.h
+ ShortVector.h
+ SubModel.cpp
+ SubModel.h
+ TileAssembler.cpp
+ TileAssembler.h
+ TreeNode.cpp
+ TreeNode.h
+ VMapDefinitions.h
+ VMapFactory.cpp
+ VMapFactory.h
+ VMapManager.cpp
+ VMapManager.h
+ VMapTools.h
+)
+
+add_library(vmaps STATIC ${vmaps_STAT_SRCS})
+