summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
blob: c454eca4e57cdfcba3b3ed6aea028adbe739436b (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
set(PROGRAM_stmd "stmd")
set(PROGRAM_stmd_SOURCES blocks.c
inlines.c
main.c
debug.h
detab.c
bstrlib.c
bstrlib.h
getopt.c
html.c


print.c
scanners.h
scanners.re
stmd.h
utf8.c
utf8.h
uthash.h 
)

add_executable(${PROGRAM_stmd} 
                ${PROGRAM_stmd_SOURCES})

if (MSVC)
set_property(TARGET ${PROGRAM_chronolog} 
					 APPEND PROPERTY LINK_FLAGS /INCREMENTAL:NO) 
target_link_libraries(${PROGRAM_chronolog} gdiplus.lib)
endif(MSVC)
install(TARGETS ${PROGRAM_chronolog}
RUNTIME DESTINATION bin 
BUNDLE DESTINATION Applications)