From 842c7b66fca8e1aa49d16a3e04eb0cb33e073131 Mon Sep 17 00:00:00 2001 From: Matthew Johnston Date: Thu, 5 Aug 2021 22:53:23 -0500 Subject: [PATCH] Separate private and public interfaces This is a common pattern that I've seen that helps convey what is supposed to be public and what is internal and not to be used directly. --- CMakeLists.txt | 2 +- {src => include}/physfs.h | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {src => include}/physfs.h (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index ea7c953..399b80b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,7 @@ if(WIN32 AND NOT WINDOWS) set(WINDOWS TRUE) endif() -include_directories(./src) +include_directories(include) if(APPLE) set(OTHER_LDFLAGS ${OTHER_LDFLAGS} "-framework IOKit -framework Foundation") diff --git a/src/physfs.h b/include/physfs.h similarity index 100% rename from src/physfs.h rename to include/physfs.h