From f2791917a2a7b3ed88ef32d4602f0fe297955b67 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Mon, 17 Oct 2022 19:19:04 +0300 Subject: CMake: Make IDEs see headers --- CMakeLists.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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}) -- cgit v1.2.3