Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 749d67ab64
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (13 sloc) 0.498 kb
SET(TERMBOX_LIB_SRC
${CMAKE_CURRENT_SOURCE_DIR}/input.c
${CMAKE_CURRENT_SOURCE_DIR}/ringbuffer.c
${CMAKE_CURRENT_SOURCE_DIR}/term.c
${CMAKE_CURRENT_SOURCE_DIR}/termbox.c
${CMAKE_CURRENT_SOURCE_DIR}/utf8.c
)
ADD_LIBRARY(termbox STATIC ${TERMBOX_LIB_SRC})
OPTION(TERMBOX_SHARED "Build static library for use in shared libraries (uses fPIC)" OFF)
IF(TERMBOX_SHARED)
SET_TARGET_PROPERTIES(termbox PROPERTIES COMPILE_FLAGS -fPIC)
ENDIF(TERMBOX_SHARED)
ADD_SUBDIRECTORY(demo)
Jump to Line
Something went wrong with that request. Please try again.