aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2022-10-17 19:19:04 +0300
committerWohlstand <admin@wohlnet.ru>2022-10-17 19:19:04 +0300
commitf2791917a2a7b3ed88ef32d4602f0fe297955b67 (patch)
treef65e1f746c5c7d9e0b1be7ba4b929fe75fb82adb /CMakeLists.txt
parent9fbaa58e87a63749ff1694bdb9f4d1241db98689 (diff)
downloadlibADLMIDI-f2791917a2a7b3ed88ef32d4602f0fe297955b67.tar.gz
libADLMIDI-f2791917a2a7b3ed88ef32d4602f0fe297955b67.tar.bz2
libADLMIDI-f2791917a2a7b3ed88ef32d4602f0fe297955b67.zip
CMake: Make IDEs see headers
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b365b11..07b7e1a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -284,6 +284,21 @@ set(libADLMIDI_SOURCES
${libADLMIDI_SOURCE_DIR}/src/wopl/wopl_file.c
)
+# Make headers being properly visible at IDEs
+file(GLOB libADLMIDI_HEADERS
+ ${libADLMIDI_SOURCE_DIR}/src/*.h
+ ${libADLMIDI_SOURCE_DIR}/src/*.hpp
+ ${libADLMIDI_SOURCE_DIR}/src/wopl/*.h
+ ${libADLMIDI_SOURCE_DIR}/src/structures/*.hpp
+ ${libADLMIDI_SOURCE_DIR}/src/chips/*.h
+ ${libADLMIDI_SOURCE_DIR}/src/chips/common/*.hpp
+ ${libADLMIDI_SOURCE_DIR}/src/chips/dosbox/*.h
+ ${libADLMIDI_SOURCE_DIR}/src/chips/java/*.hpp
+ ${libADLMIDI_SOURCE_DIR}/src/chips/nuked/*.h
+ ${libADLMIDI_SOURCE_DIR}/src/chips/opal/*.hpp
+)
+list(APPEND libADLMIDI_SOURCES ${libADLMIDI_HEADERS})
+
# === Static library ====
if(libADLMIDI_STATIC OR WITH_VLC_PLUGIN)
add_library(ADLMIDI_static STATIC ${libADLMIDI_SOURCES})