lw12/CMakeLists.txt

12 lines
262 B
CMake

cmake_minimum_required (VERSION 2.8)
# projectname is the same as the main-executable
project(lw12ctl)
add_definitions('-g')
add_definitions('-Wall')
add_library (lw12 lw12.c)
add_executable (lw12ctl lw12.c lw12ctl.c)
target_link_libraries (lw12ctl readline)