1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-11-18 13:55:11 -05:00
polybar/CMakeLists.txt

33 lines
605 B
Text
Raw Normal View History

2016-05-19 10:41:06 -04:00
#
# Build configuration
#
2016-11-02 15:22:45 -04:00
cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
2016-05-24 08:24:45 -04:00
2016-11-19 00:22:44 -05:00
project(polybar C CXX)
2016-05-19 10:41:06 -04:00
2016-11-02 15:22:45 -04:00
set(CMAKE_MODULE_PATH
${CMAKE_MODULE_PATH}
${PROJECT_SOURCE_DIR}/cmake
2017-01-26 11:17:02 -05:00
${PROJECT_SOURCE_DIR}/cmake/common
2016-11-02 15:22:45 -04:00
${PROJECT_SOURCE_DIR}/cmake/modules)
2016-11-02 15:22:45 -04:00
include(utils)
2017-01-26 11:17:02 -05:00
include(01-core)
include(02-opts)
include(03-libs)
include(04-targets)
include(05-summary)
2016-06-14 23:32:35 -04:00
2017-01-26 11:17:02 -05:00
add_subdirectory(doc)
add_subdirectory(doc/zsh)
add_subdirectory(include)
add_subdirectory(lib)
add_subdirectory(man)
add_subdirectory(src bin)
2016-10-24 19:46:26 -04:00
2016-10-12 01:17:03 -04:00
if(BUILD_TESTS)
2017-01-26 11:17:02 -05:00
add_subdirectory(tests)
2016-10-24 19:46:26 -04:00
else()
2017-01-26 11:17:02 -05:00
add_subdirectory(tests EXCLUDE_FROM_ALL)
2016-10-12 01:17:03 -04:00
endif()