From 2429266e3ec3c541d4eec10e6f828b422d056dbd Mon Sep 17 00:00:00 2001 From: Christoph Gysin Date: Tue, 1 Dec 2015 20:35:10 +0200 Subject: cmake: convert all cmake commands to lowercase --- swaymsg/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'swaymsg') diff --git a/swaymsg/CMakeLists.txt b/swaymsg/CMakeLists.txt index 79af0f3e..2dcdfede 100644 --- a/swaymsg/CMakeLists.txt +++ b/swaymsg/CMakeLists.txt @@ -2,8 +2,8 @@ project(swaymsg) set(CMAKE_CURRENT_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/../bin/) -FILE(GLOB sources ${PROJECT_SOURCE_DIR}/*.c) -FILE(GLOB common ${PROJECT_SOURCE_DIR}/../common/*.c) +file(GLOB sources ${PROJECT_SOURCE_DIR}/*.c) +file(GLOB common ${PROJECT_SOURCE_DIR}/../common/*.c) add_executable(swaymsg ${sources} -- cgit v1.2.3 From 905966bcae6a81fbe2cb98668982bd4804f362de Mon Sep 17 00:00:00 2001 From: Christoph Gysin Date: Tue, 1 Dec 2015 21:05:46 +0200 Subject: cmake: style consistency --- swaymsg/CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'swaymsg') diff --git a/swaymsg/CMakeLists.txt b/swaymsg/CMakeLists.txt index 2dcdfede..9cb93e52 100644 --- a/swaymsg/CMakeLists.txt +++ b/swaymsg/CMakeLists.txt @@ -11,6 +11,8 @@ add_executable(swaymsg ) install( - TARGETS swaymsg - RUNTIME DESTINATION bin - COMPONENT runtime) + TARGETS swaymsg + RUNTIME + DESTINATION bin + COMPONENT runtime +) -- cgit v1.2.3 From f7ec3d00a08f0d44ae0c8fd756c24f12d68cee9b Mon Sep 17 00:00:00 2001 From: Christoph Gysin Date: Tue, 1 Dec 2015 21:46:10 +0200 Subject: cmake: use tabs instead of spaces --- swaymsg/CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'swaymsg') diff --git a/swaymsg/CMakeLists.txt b/swaymsg/CMakeLists.txt index 9cb93e52..9231e9f4 100644 --- a/swaymsg/CMakeLists.txt +++ b/swaymsg/CMakeLists.txt @@ -6,13 +6,13 @@ file(GLOB sources ${PROJECT_SOURCE_DIR}/*.c) file(GLOB common ${PROJECT_SOURCE_DIR}/../common/*.c) add_executable(swaymsg - ${sources} - ${common} + ${sources} + ${common} ) install( - TARGETS swaymsg - RUNTIME - DESTINATION bin - COMPONENT runtime + TARGETS swaymsg + RUNTIME + DESTINATION bin + COMPONENT runtime ) -- cgit v1.2.3 From 2dedf206d79a3ce9c44c3216a2b148a2172b78fa Mon Sep 17 00:00:00 2001 From: Christoph Gysin Date: Tue, 1 Dec 2015 21:14:27 +0200 Subject: cmake: use out-of-source build --- swaymsg/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'swaymsg') diff --git a/swaymsg/CMakeLists.txt b/swaymsg/CMakeLists.txt index 9231e9f4..2671dc2c 100644 --- a/swaymsg/CMakeLists.txt +++ b/swaymsg/CMakeLists.txt @@ -1,7 +1,5 @@ project(swaymsg) -set(CMAKE_CURRENT_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/../bin/) - file(GLOB sources ${PROJECT_SOURCE_DIR}/*.c) file(GLOB common ${PROJECT_SOURCE_DIR}/../common/*.c) -- cgit v1.2.3