summaryrefslogtreecommitdiff
path: root/app/wlib/mswlib/CMakeLists.txt
blob: 82d837190608abb4249d177ec77c506975330cc3 (plain)
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
FILE(GLOB HEADERS *.h)

SET(SOURCES
#	checksum.c
	getopt.c
	mswbox.c
	mswbutt.c
	mswbitmap.c
	mswchksm.c
	mswchoic.c
	mswcolor.c
	mswdraw.c
	mswedit.c
	mswlines.c
	mswlist.c
	mswmenu.c
	mswmisc.c
	mswmsg.c
	mswpref.c
	mswprint.c
	mswsplash.c
	mswstatus.c 
	mswtext.c
	gwin32.c
	simple-gettext.c
	)

INCLUDE_DIRECTORIES(${XTrkCAD_BINARY_DIR})
# INCLUDE_DIRECTORIES(${XTRKCAD_BINARY_DIR})

IF(XTRKCAD_USE_GETTEXT)
	IF(WIN32)
		ADD_DEFINITIONS(-DUSE_SIMPLE_GETTEXT )
	ENDIF(WIN32)
ENDIF(XTRKCAD_USE_GETTEXT)

ADD_LIBRARY(xtrkcad-wlib ${HEADERS} ${SOURCES})

TARGET_LINK_LIBRARIES(xtrkcad-wlib Htmlhelp msimg32 shlwapi)