CMake/Source/CursesDialog/CMakeLists.txt

30 lines
766 B
CMake

SOURCE_FILES( CURSES_SRCS
cmCursesBoolWidget
cmCursesCacheEntryComposite
cmCursesDummyWidget
cmCursesFilePathWidget
cmCursesForm
cmCursesLabelWidget
cmCursesLongMessageForm
cmCursesMainForm
cmCursesPathWidget
cmCursesStringWidget
cmCursesWidget
ccmake
)
INCLUDE_DIRECTORIES(${CMake_SOURCE_DIR}/Source/CursesDialog/form)
INCLUDE_DIRECTORIES(${CURSES_INCLUDE_PATH})
LINK_LIBRARIES(${CURSES_LIBRARY})
IF(CURSES_EXTRA_LIBRARY)
LINK_LIBRARIES(${CURSES_EXTRA_LIBRARY})
ENDIF(CURSES_EXTRA_LIBRARY)
LINK_LIBRARIES(cmForm)
ADD_EXECUTABLE(ccmake CURSES_SRCS)
INSTALL_TARGETS(/bin ccmake)