-
Notifications
You must be signed in to change notification settings - Fork 0
/
windows.cmake
98 lines (92 loc) · 2.63 KB
/
windows.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#@file windows.cmake
#@copyright GPL-3.0-or-later
#@author safocl (megaSafocl)
#@date 2023
#
#@detail \"Copyright safocl (megaSafocl) 2023\"
#This file is part of watcher.
#
#watcher is free software: you can redistribute it and/or modify it under
#the terms of the GNU General Public License as published by the Free Software
#Foundation, either version 3 of the License, or any later version.
#
#watcher is distributed in the hope that it will be useful, but
#WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
#or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
#more details.
#
#You should have received a copy of the GNU General Public License along with
#watcher. If not, see <https://www.gnu.org/licenses/>.
set(mingwDir "${CMAKE_SOURCE_DIR}/x86_64-w64-mingw32")
set(dllsDir "${mingwDir}/lib")
link_directories(${dllsDir})
include_directories(
${mingwDir}/include
${mingwDir}/include/SDL2
${mingwDir}/include/c++/10.1.0
${mingwDir}/include/gtkmm-3.0
${mingwDir}/lib/gtkmm-3.0/include
${mingwDir}/include/atkmm-1.6
${mingwDir}/include/atk-1.0
${mingwDir}/include/glib-2.0
${mingwDir}/lib/glib-2.0/include
${mingwDir}/include/glibmm-2.4
${mingwDir}/lib/glibmm-2.4/include
${mingwDir}/include/sigc++-2.0
${mingwDir}/lib/sigc++-2.0/include
${mingwDir}/include/giomm-2.4
${mingwDir}/lib/giomm-2.4/include
${mingwDir}/include/libmount
${mingwDir}/include/blkid
${mingwDir}/include/pangomm-1.4
${mingwDir}/lib/pangomm-1.4/include
${mingwDir}/include/cairomm-1.0
${mingwDir}/lib/cairomm-1.0/include
${mingwDir}/include/cairo
${mingwDir}/include/pixman-1
${mingwDir}/include/freetype2
${mingwDir}/include/libpng16
${mingwDir}/include/harfbuzz
${mingwDir}/include/pango-1.0
${mingwDir}/include/fribidi
${mingwDir}/include/gtk-3.0
${mingwDir}/include/gdk-pixbuf-2.0
${mingwDir}/include/gio-unix-2.0
${mingwDir}/include/at-spi2-atk/2.0
${mingwDir}/include/at-spi-2.0
${mingwDir}/include/gtk-3.0/unix-print
${mingwDir}/include/gdkmm-3.0
${mingwDir}/lib/gdkmm-3.0/include)
set(SDL2_MIXER_LIBRARIES SDL2 SDL2_mixer)
set(GTKMM_LIBRARIES
gdi32
imm32
shell32
ole32
winmm
dwmapi
setupapi
cfgmgr32
intl.dll.a
gtkmm-3.0.dll.a
atkmm-1.6.dll.a
gdkmm-3.0.dll.a
giomm-2.4.dll.a
pangomm-1.4.dll.a
glibmm-2.4.dll.a
gtk-3.dll.a
gdk-3.dll.a
z.dll.a
pangocairo-1.0.dll.a
pango-1.0.dll.a
harfbuzz.dll.a
atk-1.0.dll.a
cairo-gobject.dll.a
gio-2.0.dll.a
cairomm-1.0.dll.a
cairo.dll.a
sigc-2.0.dll.a
gdk_pixbuf-2.0.dll.a
gobject-2.0.dll.a
glib-2.0.dll.a )
install(DIRECTORY ${mingwDir}/share ${mingwDir}/lib ${mingwDir}/bin DESTINATION "Watcher")