bemenu/CMakeLists.txt
2014-10-22 22:46:51 +03:00

25 lines
527 B
CMake

CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(bemenu)
INCLUDE(CTest)
SET(BEMENU_NAME "bemenu")
SET(BEMENU_DESCRIPTION "Dynamic menu library and client program inspired by dmenu")
SET(BEMENU_VERSION "1.0.0")
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${bemenu_SOURCE_DIR}/CMake)
# C99
ADD_DEFINITIONS(-std=c99)
# Compile library
ADD_SUBDIRECTORY(lib)
# Compile client
ADD_SUBDIRECTORY(client)
# Compile tests
ADD_SUBDIRECTORY(test)
# Generate documentation (make doxygen)
ADD_SUBDIRECTORY(doxygen)
# vim: set ts=8 sw=4 tw=0