From 77e9f3f7680a8eb5f9e08b051b299f9b60c56fb3 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Fri, 2 Oct 2020 18:44:29 +0200 Subject: [PATCH] Revert "Make CInterface exported functions be contained in .h files, instead of .cpp." This reverts commit 9abdbecd --- CInterface/{Core.h => Core.cpp} | 0 CInterface/{Random.h => Random.cpp} | 0 CMakeLists.txt | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename CInterface/{Core.h => Core.cpp} (100%) rename CInterface/{Random.h => Random.cpp} (100%) diff --git a/CInterface/Core.h b/CInterface/Core.cpp similarity index 100% rename from CInterface/Core.h rename to CInterface/Core.cpp diff --git a/CInterface/Random.h b/CInterface/Random.cpp similarity index 100% rename from CInterface/Random.h rename to CInterface/Random.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index ba24753..44a4409 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ if (NOT WINDOWS) endif() # Grab all cpp and hpp files in our source directories. -file(GLOB_RECURSE SRC_FILES "src/*.cpp" "src/*.hpp" "CInterface/*.cpp" "CInterface/*.hpp" "CInterface/*.h") +file(GLOB_RECURSE SRC_FILES "src/*.cpp" "src/*.hpp" "CInterface/*.cpp" "CInterface/*.hpp") add_library(Arbutils ${LIBTYPE} ${SRC_FILES}) target_precompile_headers(Arbutils PUBLIC src/Precompiled.hxx)