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
|
#
# Setup some vars we use in the configure/build process
#
# The dir in which we ship pregen'd source files
set(GENSRCDIR ${CMAKE_CURRENT_SOURCE_DIR}/gen)
# Where our doc files are (and where pregen'd docs might be)
set(SRCDOCDIR ${CMAKE_SOURCE_DIR}/doc)
# Our base set of sources
set(CTWMSRC
add_window.c
clargs.c
clicktofocus.c
ctopts.c
ctwm.c
ctwm_atoms.c
cursor.c
deftwmrc.c
event_names.c
events.c
gc.c
gram.tab.c
iconmgr.c
icons.c
lex.c
list.c
menus.c
mwmhints.c
otp.c
parse.c
parse_be.c
parse_yacc.c
resize.c
session.c
util.c
version.c
vscreen.c
windowbox.c
workmgr.c
ext/repl_str.c
)
# Libs to link in (init empty list)
set(CTWMLIBS)
# Our normal set of warning flags
set(STD_WARNS
-Wall
-Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wundef
-Wredundant-decls -Wcast-align -Wcast-qual -Wchar-subscripts
-Winline -Wnested-externs -Wmissing-declarations
)
|