Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Beatrici <git@davidebeatrici.dev>2020-05-26 02:12:27 +0300
committerDavide Beatrici <git@davidebeatrici.dev>2020-07-11 20:34:49 +0300
commit6b87ac6221b475b65df4d1cd1cbc680c5a18db1c (patch)
treea65947281d80d74107fc6bac788e23a0501fec2b /plugins
parentabc04159f5d27547e55372bcbf1d547ecdc3fe99 (diff)
Plugins: add CMakeLists.txt files
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CMakeLists.txt33
-rw-r--r--plugins/aoc/CMakeLists.txt6
-rw-r--r--plugins/arma2/CMakeLists.txt6
-rw-r--r--plugins/bf1/CMakeLists.txt6
-rw-r--r--plugins/bf1942/CMakeLists.txt6
-rw-r--r--plugins/bf2/CMakeLists.txt6
-rw-r--r--plugins/bf2142/CMakeLists.txt6
-rw-r--r--plugins/bf3/CMakeLists.txt6
-rw-r--r--plugins/bf4/CMakeLists.txt6
-rw-r--r--plugins/bf4_x86/CMakeLists.txt6
-rw-r--r--plugins/bfbc2/CMakeLists.txt6
-rw-r--r--plugins/bfheroes/CMakeLists.txt6
-rw-r--r--plugins/blacklight/CMakeLists.txt6
-rw-r--r--plugins/borderlands/CMakeLists.txt6
-rw-r--r--plugins/borderlands2/CMakeLists.txt6
-rw-r--r--plugins/breach/CMakeLists.txt6
-rw-r--r--plugins/cod2/CMakeLists.txt6
-rw-r--r--plugins/cod4/CMakeLists.txt6
-rw-r--r--plugins/cod5/CMakeLists.txt6
-rw-r--r--plugins/codmw2/CMakeLists.txt6
-rw-r--r--plugins/codmw2so/CMakeLists.txt6
-rw-r--r--plugins/cs/CMakeLists.txt6
-rw-r--r--plugins/css/CMakeLists.txt8
-rw-r--r--plugins/dods/CMakeLists.txt8
-rw-r--r--plugins/dys/CMakeLists.txt6
-rw-r--r--plugins/etqw/CMakeLists.txt6
-rw-r--r--plugins/ffxiv/CMakeLists.txt6
-rw-r--r--plugins/ffxiv_x64/CMakeLists.txt8
-rw-r--r--plugins/gmod/CMakeLists.txt6
-rw-r--r--plugins/gtaiv/CMakeLists.txt6
-rw-r--r--plugins/gtasa/CMakeLists.txt6
-rw-r--r--plugins/gtav/CMakeLists.txt6
-rw-r--r--plugins/gw/CMakeLists.txt6
-rw-r--r--plugins/hl2dm/CMakeLists.txt8
-rw-r--r--plugins/insurgency/CMakeLists.txt6
-rw-r--r--plugins/jc2/CMakeLists.txt6
-rw-r--r--plugins/l4d/CMakeLists.txt6
-rw-r--r--plugins/l4d2/CMakeLists.txt6
-rw-r--r--plugins/link/CMakeLists.txt17
-rw-r--r--plugins/lol/CMakeLists.txt6
-rw-r--r--plugins/lotro/CMakeLists.txt6
-rw-r--r--plugins/ql/CMakeLists.txt6
-rw-r--r--plugins/rl/CMakeLists.txt6
-rw-r--r--plugins/sr/CMakeLists.txt6
-rw-r--r--plugins/sto/CMakeLists.txt8
-rw-r--r--plugins/tf2/CMakeLists.txt8
-rw-r--r--plugins/ut2004/CMakeLists.txt6
-rw-r--r--plugins/ut3/CMakeLists.txt6
-rw-r--r--plugins/ut99/CMakeLists.txt6
-rw-r--r--plugins/wolfet/CMakeLists.txt6
-rw-r--r--plugins/wow/CMakeLists.txt6
-rw-r--r--plugins/wow_x64/CMakeLists.txt6
52 files changed, 362 insertions, 0 deletions
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
new file mode 100644
index 000000000..b61471e8e
--- /dev/null
+++ b/plugins/CMakeLists.txt
@@ -0,0 +1,33 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+if(NOT WIN32 AND NOT (${CMAKE_SYSTEM_NAME} STREQUAL "Linux"))
+ add_subdirectory(link)
+
+ # Shared library on UNIX (e.g. ".so")
+ set_target_properties(link PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/plugins")
+
+ return()
+endif()
+
+file(GLOB ITEMS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "${CMAKE_CURRENT_SOURCE_DIR}/*")
+
+foreach(ITEM ${ITEMS})
+ if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${ITEM}")
+ add_subdirectory(${ITEM})
+
+ if(WIN32)
+ target_link_libraries(${ITEM} user32.lib)
+
+ # Shared library on Windows (e.g. ".dll")
+ set_target_properties(${ITEM} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/plugins")
+ else()
+ # Shared library on UNIX (e.g. ".so")
+ set_target_properties(${ITEM} PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/plugins")
+ endif()
+ endif()
+endforeach()
diff --git a/plugins/aoc/CMakeLists.txt b/plugins/aoc/CMakeLists.txt
new file mode 100644
index 000000000..1bcc5ac18
--- /dev/null
+++ b/plugins/aoc/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(aoc SHARED "aoc.cpp")
diff --git a/plugins/arma2/CMakeLists.txt b/plugins/arma2/CMakeLists.txt
new file mode 100644
index 000000000..dfa5fc53f
--- /dev/null
+++ b/plugins/arma2/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(arma2 SHARED "arma2.cpp")
diff --git a/plugins/bf1/CMakeLists.txt b/plugins/bf1/CMakeLists.txt
new file mode 100644
index 000000000..6268c729f
--- /dev/null
+++ b/plugins/bf1/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(bf1 SHARED "bf1.cpp")
diff --git a/plugins/bf1942/CMakeLists.txt b/plugins/bf1942/CMakeLists.txt
new file mode 100644
index 000000000..00a71146a
--- /dev/null
+++ b/plugins/bf1942/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(bf1942 SHARED "bf1942.cpp")
diff --git a/plugins/bf2/CMakeLists.txt b/plugins/bf2/CMakeLists.txt
new file mode 100644
index 000000000..c4b16e226
--- /dev/null
+++ b/plugins/bf2/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(bf2 SHARED "bf2.cpp")
diff --git a/plugins/bf2142/CMakeLists.txt b/plugins/bf2142/CMakeLists.txt
new file mode 100644
index 000000000..3969231e4
--- /dev/null
+++ b/plugins/bf2142/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(bf2142 SHARED "bf2142.cpp")
diff --git a/plugins/bf3/CMakeLists.txt b/plugins/bf3/CMakeLists.txt
new file mode 100644
index 000000000..f19145e1a
--- /dev/null
+++ b/plugins/bf3/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(bf3 SHARED "bf3.cpp")
diff --git a/plugins/bf4/CMakeLists.txt b/plugins/bf4/CMakeLists.txt
new file mode 100644
index 000000000..0c0423ded
--- /dev/null
+++ b/plugins/bf4/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(bf4 SHARED "bf4.cpp")
diff --git a/plugins/bf4_x86/CMakeLists.txt b/plugins/bf4_x86/CMakeLists.txt
new file mode 100644
index 000000000..96b1690cc
--- /dev/null
+++ b/plugins/bf4_x86/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(bf4_x86 SHARED "bf4_x86.cpp")
diff --git a/plugins/bfbc2/CMakeLists.txt b/plugins/bfbc2/CMakeLists.txt
new file mode 100644
index 000000000..225e6ce22
--- /dev/null
+++ b/plugins/bfbc2/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(bfbc2 SHARED "bfbc2.cpp")
diff --git a/plugins/bfheroes/CMakeLists.txt b/plugins/bfheroes/CMakeLists.txt
new file mode 100644
index 000000000..a7ed67152
--- /dev/null
+++ b/plugins/bfheroes/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(bfheroes SHARED "bfheroes.cpp")
diff --git a/plugins/blacklight/CMakeLists.txt b/plugins/blacklight/CMakeLists.txt
new file mode 100644
index 000000000..55b1be33e
--- /dev/null
+++ b/plugins/blacklight/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(blacklight SHARED "blacklight.cpp")
diff --git a/plugins/borderlands/CMakeLists.txt b/plugins/borderlands/CMakeLists.txt
new file mode 100644
index 000000000..40673b059
--- /dev/null
+++ b/plugins/borderlands/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(borderlands SHARED "borderlands.cpp")
diff --git a/plugins/borderlands2/CMakeLists.txt b/plugins/borderlands2/CMakeLists.txt
new file mode 100644
index 000000000..25ed4a28e
--- /dev/null
+++ b/plugins/borderlands2/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(borderlands2 SHARED "borderlands2.cpp")
diff --git a/plugins/breach/CMakeLists.txt b/plugins/breach/CMakeLists.txt
new file mode 100644
index 000000000..11f96a61a
--- /dev/null
+++ b/plugins/breach/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(breach SHARED "breach.cpp")
diff --git a/plugins/cod2/CMakeLists.txt b/plugins/cod2/CMakeLists.txt
new file mode 100644
index 000000000..2813207af
--- /dev/null
+++ b/plugins/cod2/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(cod2 SHARED "cod2.cpp")
diff --git a/plugins/cod4/CMakeLists.txt b/plugins/cod4/CMakeLists.txt
new file mode 100644
index 000000000..8838144d9
--- /dev/null
+++ b/plugins/cod4/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(cod4 SHARED "cod4.cpp")
diff --git a/plugins/cod5/CMakeLists.txt b/plugins/cod5/CMakeLists.txt
new file mode 100644
index 000000000..9eb83bb71
--- /dev/null
+++ b/plugins/cod5/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(cod5 SHARED "cod5.cpp")
diff --git a/plugins/codmw2/CMakeLists.txt b/plugins/codmw2/CMakeLists.txt
new file mode 100644
index 000000000..39f9eb928
--- /dev/null
+++ b/plugins/codmw2/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(codmw2 SHARED "codmw2.cpp")
diff --git a/plugins/codmw2so/CMakeLists.txt b/plugins/codmw2so/CMakeLists.txt
new file mode 100644
index 000000000..a64fc4e4b
--- /dev/null
+++ b/plugins/codmw2so/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(codmw2so SHARED "codmw2so.cpp")
diff --git a/plugins/cs/CMakeLists.txt b/plugins/cs/CMakeLists.txt
new file mode 100644
index 000000000..afd687f60
--- /dev/null
+++ b/plugins/cs/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(cs SHARED "cs.cpp")
diff --git a/plugins/css/CMakeLists.txt b/plugins/css/CMakeLists.txt
new file mode 100644
index 000000000..cad1c457f
--- /dev/null
+++ b/plugins/css/CMakeLists.txt
@@ -0,0 +1,8 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(css SHARED "../null_plugin.cpp")
+
+target_compile_definitions(css PRIVATE "NULL_DESC=L\"Counter Strike: Source (retracted, now using Link)\"")
diff --git a/plugins/dods/CMakeLists.txt b/plugins/dods/CMakeLists.txt
new file mode 100644
index 000000000..bb0257ecc
--- /dev/null
+++ b/plugins/dods/CMakeLists.txt
@@ -0,0 +1,8 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(dods SHARED "../null_plugin.cpp")
+
+target_compile_definitions(dods PRIVATE "NULL_DESC=L\"Day of Defeat: Source (retracted, now using Link)\"")
diff --git a/plugins/dys/CMakeLists.txt b/plugins/dys/CMakeLists.txt
new file mode 100644
index 000000000..daf63a9f7
--- /dev/null
+++ b/plugins/dys/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(dys SHARED "dys.cpp")
diff --git a/plugins/etqw/CMakeLists.txt b/plugins/etqw/CMakeLists.txt
new file mode 100644
index 000000000..0d89dbd94
--- /dev/null
+++ b/plugins/etqw/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(etqw SHARED "etqw.cpp")
diff --git a/plugins/ffxiv/CMakeLists.txt b/plugins/ffxiv/CMakeLists.txt
new file mode 100644
index 000000000..2b612fc50
--- /dev/null
+++ b/plugins/ffxiv/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(ffxiv SHARED "ffxiv.cpp")
diff --git a/plugins/ffxiv_x64/CMakeLists.txt b/plugins/ffxiv_x64/CMakeLists.txt
new file mode 100644
index 000000000..255c3754b
--- /dev/null
+++ b/plugins/ffxiv_x64/CMakeLists.txt
@@ -0,0 +1,8 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(ffxiv_x64 SHARED "../ffxiv/ffxiv.cpp")
+
+target_compile_definitions(ffxiv_x64 PRIVATE "FFXIV_USE_x64")
diff --git a/plugins/gmod/CMakeLists.txt b/plugins/gmod/CMakeLists.txt
new file mode 100644
index 000000000..780dad317
--- /dev/null
+++ b/plugins/gmod/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(gmod SHARED "gmod.cpp")
diff --git a/plugins/gtaiv/CMakeLists.txt b/plugins/gtaiv/CMakeLists.txt
new file mode 100644
index 000000000..03ff487c7
--- /dev/null
+++ b/plugins/gtaiv/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(gtaiv SHARED "gtaiv.cpp")
diff --git a/plugins/gtasa/CMakeLists.txt b/plugins/gtasa/CMakeLists.txt
new file mode 100644
index 000000000..f1caa316f
--- /dev/null
+++ b/plugins/gtasa/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(gtasa SHARED "gtasa.cpp")
diff --git a/plugins/gtav/CMakeLists.txt b/plugins/gtav/CMakeLists.txt
new file mode 100644
index 000000000..07ee978bd
--- /dev/null
+++ b/plugins/gtav/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(gtav SHARED "gtav.cpp")
diff --git a/plugins/gw/CMakeLists.txt b/plugins/gw/CMakeLists.txt
new file mode 100644
index 000000000..2f4e577d1
--- /dev/null
+++ b/plugins/gw/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(gw SHARED "gw.cpp")
diff --git a/plugins/hl2dm/CMakeLists.txt b/plugins/hl2dm/CMakeLists.txt
new file mode 100644
index 000000000..f79b36f53
--- /dev/null
+++ b/plugins/hl2dm/CMakeLists.txt
@@ -0,0 +1,8 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(hl2dm SHARED "../null_plugin.cpp")
+
+target_compile_definitions(hl2dm PRIVATE "NULL_DESC=L\"Half-Life 2: Deathmatch (retracted, now using Link)\"")
diff --git a/plugins/insurgency/CMakeLists.txt b/plugins/insurgency/CMakeLists.txt
new file mode 100644
index 000000000..75e785cdc
--- /dev/null
+++ b/plugins/insurgency/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(insurgency SHARED "insurgency.cpp")
diff --git a/plugins/jc2/CMakeLists.txt b/plugins/jc2/CMakeLists.txt
new file mode 100644
index 000000000..e2dca46f3
--- /dev/null
+++ b/plugins/jc2/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(jc2 SHARED "jc2.cpp")
diff --git a/plugins/l4d/CMakeLists.txt b/plugins/l4d/CMakeLists.txt
new file mode 100644
index 000000000..7a429da99
--- /dev/null
+++ b/plugins/l4d/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(l4d SHARED "l4d.cpp")
diff --git a/plugins/l4d2/CMakeLists.txt b/plugins/l4d2/CMakeLists.txt
new file mode 100644
index 000000000..45005b94a
--- /dev/null
+++ b/plugins/l4d2/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(l4d2 SHARED "l4d2.cpp")
diff --git a/plugins/link/CMakeLists.txt b/plugins/link/CMakeLists.txt
new file mode 100644
index 000000000..7845bb990
--- /dev/null
+++ b/plugins/link/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(link SHARED)
+
+if(WIN32)
+ target_sources(link PRIVATE "link.cpp")
+elseif(UNIX)
+ target_sources(link PRIVATE "link-posix.cpp")
+
+ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
+ find_library(LIB_RT "rt")
+ target_link_libraries(link PRIVATE ${LIB_RT})
+ endif()
+endif()
diff --git a/plugins/lol/CMakeLists.txt b/plugins/lol/CMakeLists.txt
new file mode 100644
index 000000000..066958370
--- /dev/null
+++ b/plugins/lol/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(lol SHARED "lol.cpp")
diff --git a/plugins/lotro/CMakeLists.txt b/plugins/lotro/CMakeLists.txt
new file mode 100644
index 000000000..dd9a2e47e
--- /dev/null
+++ b/plugins/lotro/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(lotro SHARED "lotro.cpp")
diff --git a/plugins/ql/CMakeLists.txt b/plugins/ql/CMakeLists.txt
new file mode 100644
index 000000000..6df97aeeb
--- /dev/null
+++ b/plugins/ql/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(ql SHARED "ql.cpp")
diff --git a/plugins/rl/CMakeLists.txt b/plugins/rl/CMakeLists.txt
new file mode 100644
index 000000000..9d879ec94
--- /dev/null
+++ b/plugins/rl/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(rl SHARED "rl.cpp")
diff --git a/plugins/sr/CMakeLists.txt b/plugins/sr/CMakeLists.txt
new file mode 100644
index 000000000..095d7c014
--- /dev/null
+++ b/plugins/sr/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(sr SHARED "sr.cpp")
diff --git a/plugins/sto/CMakeLists.txt b/plugins/sto/CMakeLists.txt
new file mode 100644
index 000000000..ea1ebb36c
--- /dev/null
+++ b/plugins/sto/CMakeLists.txt
@@ -0,0 +1,8 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(sto SHARED "../null_plugin.cpp")
+
+target_compile_definitions(sto PRIVATE "NULL_DESC=L\"Star Trek Online (retracted due to lack of maintenance)\"")
diff --git a/plugins/tf2/CMakeLists.txt b/plugins/tf2/CMakeLists.txt
new file mode 100644
index 000000000..fccb367d2
--- /dev/null
+++ b/plugins/tf2/CMakeLists.txt
@@ -0,0 +1,8 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(tf2 SHARED "../null_plugin.cpp")
+
+target_compile_definitions(tf2 PRIVATE "NULL_DESC=L\"Team Fortress 2 (retracted, now using Link)\"")
diff --git a/plugins/ut2004/CMakeLists.txt b/plugins/ut2004/CMakeLists.txt
new file mode 100644
index 000000000..e06ee3336
--- /dev/null
+++ b/plugins/ut2004/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(ut2004 SHARED "ut2004.cpp")
diff --git a/plugins/ut3/CMakeLists.txt b/plugins/ut3/CMakeLists.txt
new file mode 100644
index 000000000..ad11ea2ee
--- /dev/null
+++ b/plugins/ut3/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(ut3 SHARED "ut3.cpp")
diff --git a/plugins/ut99/CMakeLists.txt b/plugins/ut99/CMakeLists.txt
new file mode 100644
index 000000000..0c07f795e
--- /dev/null
+++ b/plugins/ut99/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(ut99 SHARED "ut99.cpp")
diff --git a/plugins/wolfet/CMakeLists.txt b/plugins/wolfet/CMakeLists.txt
new file mode 100644
index 000000000..21fa7aaa0
--- /dev/null
+++ b/plugins/wolfet/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(wolfet SHARED "wolfet.cpp")
diff --git a/plugins/wow/CMakeLists.txt b/plugins/wow/CMakeLists.txt
new file mode 100644
index 000000000..4a8ff07cf
--- /dev/null
+++ b/plugins/wow/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(wow SHARED "wow.cpp")
diff --git a/plugins/wow_x64/CMakeLists.txt b/plugins/wow_x64/CMakeLists.txt
new file mode 100644
index 000000000..9b3ccb947
--- /dev/null
+++ b/plugins/wow_x64/CMakeLists.txt
@@ -0,0 +1,6 @@
+# Copyright 2019-2020 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+add_library(wow_x64 SHARED "wow_x64.cpp")