Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Source / CursesDialog / form / CMakeLists.txt
bloba3d99777a5803672a881b35b3e6df162d5cec192
1 PROJECT(CMAKE_FORM)
3 INCLUDE_REGULAR_EXPRESSION("^.*$")
4 INCLUDE_DIRECTORIES(${CURSES_INCLUDE_PATH} "${CMAKE_CURRENT_BINARY_DIR}")
6 CONFIGURE_FILE(cmFormConfigure.h.in "${CMAKE_CURRENT_BINARY_DIR}/cmFormConfigure.h")
8 SET(  FORM_SRCS
9              fld_arg.c
10              fld_attr.c
11              fld_current.c
12              fld_def.c
13              fld_dup.c
14              fld_ftchoice.c
15              fld_ftlink.c
16              fld_info.c
17              fld_just.c
18              fld_link.c
19              fld_max.c
20              fld_move.c
21              fld_newftyp.c
22              fld_opts.c
23              fld_pad.c
24              fld_page.c
25              fld_stat.c
26              fld_type.c
27              fld_user.c
28              frm_cursor.c
29              frm_data.c
30              frm_def.c
31              frm_driver.c
32              frm_hook.c
33              frm_opts.c
34              frm_page.c
35              frm_post.c
36              frm_req_name.c
37              frm_scale.c
38              frm_sub.c
39              frm_user.c
40              frm_win.c
41              fty_alnum.c
42              fty_alpha.c
43              fty_enum.c
44              fty_int.c
45              fty_ipv4.c
46              fty_num.c
47              fty_regex.c
48    )
49              
50 INCLUDE_DIRECTORIES(${CMAKE_FORM_SOURCE_DIR})
51 ADD_LIBRARY(cmForm ${FORM_SRCS} )
52 TARGET_LINK_LIBRARIES(cmForm ${CURSES_LIBRARY})
53 IF(CURSES_EXTRA_LIBRARY)
54   TARGET_LINK_LIBRARIES(cmForm ${CURSES_EXTRA_LIBRARY})
55 ENDIF(CURSES_EXTRA_LIBRARY)