aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
blob: 55620e4b53373a6d13a47dd1420d5e830cae5d70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
cmake_minimum_required (VERSION 2.6)
project (yawa)

set(PACKAGE_NAME "yawa")
set(PACKAGE_VERSION "0.0.1")
set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
set(PACKAGE_DESCRIPTION "yet another wallpaper application")
set(PACKAGE_BUGREPORT "johannes@kyriasis.com")

configure_file(
	${CMAKE_SOURCE_DIR}/src/config.h.in
	${CMAKE_SOURCE_DIR}/src/config.h
)

set(CMAKE_C_COMPILER             "/usr/bin/clang")
set(CMAKE_C_FLAGS                "-Weverything")
set(CMAKE_C_STANDARD 11)
add_definitions(
	-std=c11
)

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)

add_subdirectory("src")