1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-18 11:05:18 +00:00
conky/CMakeLists.txt
2009-12-09 15:56:07 -08:00

31 lines
688 B
CMake

# vim: ts=4 sw=4 noet ai cindent syntax=cmake
cmake_minimum_required(VERSION 2.6)
project(conky)
# This is the directory for our custom CMake modules.
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
# 'core' CMake stuff
include(Conky)
# Handle build options
include(ConkyBuildOptions)
# Do platform checks
include(ConkyPlatformChecks)
# CPack module for installation tasks
include(ConkyCPackSetup)
# setup our configuration headers
configure_file(${CMAKE_MODULE_PATH}/config.h.in ${CMAKE_BINARY_DIR}/config.h)
configure_file(${CMAKE_MODULE_PATH}/build.h.in ${CMAKE_BINARY_DIR}/build.h)
# Finally, add some code
add_subdirectory(src)
add_subdirectory(lua)
add_subdirectory(doc)