From 5bba1c35e529d9708fe9a5a7b1e43de24c6d072c Mon Sep 17 00:00:00 2001 From: Thomas Orozco Date: Sun, 15 Mar 2015 17:50:19 +0100 Subject: [PATCH] Move code into ./src --- CMakeLists.txt | 4 ++-- tini.c => src/tini.c | 0 tiniConfig.h.in => src/tiniConfig.h.in | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename tini.c => src/tini.c (100%) rename tiniConfig.h.in => src/tiniConfig.h.in (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 002ecfd..e398adc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,7 +15,7 @@ set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-Bsymbolic-functions # Build configure_file ( - "${PROJECT_SOURCE_DIR}/tiniConfig.h.in" + "${PROJECT_SOURCE_DIR}/src/tiniConfig.h.in" "${PROJECT_BINARY_DIR}/tiniConfig.h" ) @@ -26,4 +26,4 @@ configure_file ( include_directories ("${PROJECT_BINARY_DIR}") -add_executable (tini tini.c) +add_executable (tini src/tini.c) diff --git a/tini.c b/src/tini.c similarity index 100% rename from tini.c rename to src/tini.c diff --git a/tiniConfig.h.in b/src/tiniConfig.h.in similarity index 100% rename from tiniConfig.h.in rename to src/tiniConfig.h.in