1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-29 01:58:26 +00:00
conky/CMakeLists.txt

31 lines
694 B
CMake
Raw Normal View History

2009-11-26 11:25:32 -08:00
# 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_modules)
2009-12-07 20:46:49 -08:00
# 'core' CMake stuff
include(Conky)
2009-11-26 11:25:32 -08:00
# Handle build options
include(ConkyBuildOptions)
# Do platform checks
include(ConkyPlatformChecks)
2009-12-07 20:46:49 -08:00
# CPack module for installation tasks
include(ConkyCPackSetup)
2009-11-26 11:25:32 -08:00
2009-12-07 21:16:11 -08:00
# setup our configuration headers
configure_file(${CMAKE_SOURCE_DIR}/config.h.in ${CMAKE_BINARY_DIR}/config.h)
configure_file(${CMAKE_SOURCE_DIR}/build.h.in ${CMAKE_BINARY_DIR}/build.h)
2009-12-07 20:46:49 -08:00
# Finally, add some code
2009-11-26 11:25:32 -08:00
add_subdirectory(src)
add_subdirectory(lua)
add_subdirectory(doc)