From faede833bc783704b2806354729c84782f3b209e Mon Sep 17 00:00:00 2001 From: Meoweg Date: Sat, 7 Nov 2015 12:54:40 +0000 Subject: [PATCH] Move sources to the separate directory --- CMakeLists.txt | 2 +- main.cpp => src/main.cpp | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename main.cpp => src/main.cpp (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 388b1c8..f14fa22 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ project (Matabstrix) add_definitions ("-std=c++14 -Wall -Wextra") set (CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "--use-preload-plugins --preload-file data") -file (GLOB sources *.cpp) +file (GLOB sources "src/*.cpp") add_executable (matabstrix ${sources}) set (CMAKE_EXECUTABLE_SUFFIX ".html") diff --git a/main.cpp b/src/main.cpp similarity index 100% rename from main.cpp rename to src/main.cpp