From 9abdbecd177cdbb31e8bcead9676a683eedd20b8 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Fri, 25 Sep 2020 12:00:44 +0200 Subject: [PATCH] Make CInterface exported functions be contained in .h files, instead of .cpp. --- CInterface/{Core.cpp => Core.h} | 0 CInterface/{Random.cpp => Random.h} | 0 CMakeLists.txt | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename CInterface/{Core.cpp => Core.h} (100%) rename CInterface/{Random.cpp => Random.h} (100%) diff --git a/CInterface/Core.cpp b/CInterface/Core.h similarity index 100% rename from CInterface/Core.cpp rename to CInterface/Core.h diff --git a/CInterface/Random.cpp b/CInterface/Random.h similarity index 100% rename from CInterface/Random.cpp rename to CInterface/Random.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 44a4409..ba24753 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") +file(GLOB_RECURSE SRC_FILES "src/*.cpp" "src/*.hpp" "CInterface/*.cpp" "CInterface/*.hpp" "CInterface/*.h") add_library(Arbutils ${LIBTYPE} ${SRC_FILES}) target_precompile_headers(Arbutils PUBLIC src/Precompiled.hxx)