From 6d11e98499e0acbc70bc4f1b1969266af58e1ec6 Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Wed, 16 Sep 2015 14:59:10 +0200 Subject: [PATCH] Move source files to src subdirectory. --- CMakeLists.txt | 12 ++++++------ bpg.d => src/bpg.d | 0 gameobj.d => src/gameobj.d | 0 gameobjjumping.d => src/gameobjjumping.d | 0 main.d => src/main.d | 0 texture.d => src/texture.d | 0 6 files changed, 6 insertions(+), 6 deletions(-) rename bpg.d => src/bpg.d (100%) rename gameobj.d => src/gameobj.d (100%) rename gameobjjumping.d => src/gameobjjumping.d (100%) rename main.d => src/main.d (100%) rename texture.d => src/texture.d (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 994f75b..375ba69 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0 FATAL_ERROR) project(hello_d C D) include_directories( - . + src/ ) include_directories(SYSTEM lib/DerelictSDL2/source @@ -10,11 +10,11 @@ include_directories(SYSTEM ) add_executable(${PROJECT_NAME} - main.d - gameobj.d - bpg.d - texture.d - gameobjjumping.d + src/main.d + src/gameobj.d + src/bpg.d + src/texture.d + src/gameobjjumping.d lib/DerelictSDL2/source/derelict/sdl2/functions.d lib/DerelictSDL2/source/derelict/sdl2/image.d diff --git a/bpg.d b/src/bpg.d similarity index 100% rename from bpg.d rename to src/bpg.d diff --git a/gameobj.d b/src/gameobj.d similarity index 100% rename from gameobj.d rename to src/gameobj.d diff --git a/gameobjjumping.d b/src/gameobjjumping.d similarity index 100% rename from gameobjjumping.d rename to src/gameobjjumping.d diff --git a/main.d b/src/main.d similarity index 100% rename from main.d rename to src/main.d diff --git a/texture.d b/src/texture.d similarity index 100% rename from texture.d rename to src/texture.d