1 add_definitions (-DNDEBUG)
3 add_definitions (-DWIN32 -D_CONSOLE)
4 configure_file (defines.wn ${CMAKE_CURRENT_BINARY_DIR}/defines.h COPYONLY)
10 add_definitions (-wd4131) # uses old-style declarator
13 include_directories (${CMAKE_CURRENT_BINARY_DIR})
16 main.c screen.c brac.c ch.c charset.c cmdbuf.c
17 command.c cvt.c decode.c edit.c filename.c forwback.c
18 help.c ifile.c input.c jump.c line.c linenum.c
19 lsystem.c mark.c optfunc.c option.c opttbl.c os.c
20 output.c pattern.c position.c prompt.c search.c signal.c
21 tags.c ttyin.c version.c regexp.c
24 add_executable (lesskey lesskey version)
25 add_executable (lessecho lessecho version)
28 TARGETS less lesskey lessecho
29 RUNTIME DESTINATION bin
34 DESTINATION ${DOC_INSTALL_DIR}
35 RENAME LICENSE-less.txt