Source

Website Meta Language / src / wml_aux / iselect / CMakeLists.txt

Full commit
shl...@7081e830-… 59dc98e 
shl...@7081e830-… 7162cec 


shl...@7081e830-… 59dc98e 


Shlomi Fish 3f469ca 
shl...@7081e830-… 59dc98e 



Shlomi Fish 4f1a8c9 

Shlomi Fish 72b2260 
shl...@7081e830-… 6a8100e 
Shlomi Fish 72b2260 
shl...@7081e830-… 3d557c7 

shl...@7081e830-… 6a8100e 


Shlomi Fish 72b2260 




shl...@7081e830-… 7162cec 
















SET(CMAKE_VERBOSE_MAKEFILE ON)

SET (CURSES_NEED_NCURSES TRUE)
INCLUDE(FindCurses)

DEFINE_WML_AUX_C_PROG (
   "iselect"
   "${CMAKE_CURRENT_BINARY_DIR}"
   iselect_main.c iselect_browse.c iselect_keys.c
   iselect_getopt.c iselect_version.c iselect_help.c iselect_readme.c
)

INCLUDE_DIRECTORIES( BEFORE "${CMAKE_CURRENT_BINARY_DIR}")

SET (pod_dests )
SIMPLE_POD2MAN(
    "pod_dests"
    "iselect.pod"
    "iselect"
    "1"
)

ADD_CUSTOM_TARGET(
    "wml_aux_iselect" ALL
    DEPENDS ${pod_dests}
)

TARGET_LINK_LIBRARIES(
    iselect
    ${CURSES_LIBRARIES}
)

SET (USE_NCURSES "1")
SET (USE_CURSES "")
SET (USE_SLCURSES "")

CONFIGURE_FILE(
    ${CMAKE_CURRENT_SOURCE_DIR}/config_ac.h.in
    ${CMAKE_CURRENT_BINARY_DIR}/config_ac.h
    )

CONFIGURE_FILE(
    ${CMAKE_CURRENT_SOURCE_DIR}/config_sc.h.in
    ${CMAKE_CURRENT_BINARY_DIR}/config_sc.h
    )