Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (12 sloc) 0.529 kb
#add_definitions(-D__DEBUG__)
include_directories (${CMAKE_SOURCE_DIR}/src/)
add_custom_command(
OUTPUT oterm_data.c
COMMAND ${OPACK} ${CMAKE_CURRENT_SOURCE_DIR}/static
-o ${CMAKE_CURRENT_BINARY_DIR}/oterm_data.c
DEPENDS ${OPACK} ${CMAKE_CURRENT_SOURCE_DIR}/static/*
)
add_executable(oterm oterm.c oterm_handler.c oterm_data.c)
# util is for pty support.. who choose so generic name?
target_link_libraries(oterm onion_handlers_static onion_static util)
install(TARGETS oterm DESTINATION ${BINDIR})
Jump to Line
Something went wrong with that request. Please try again.