From 15138c38caad70c7030a6c68971bc93813122fb6 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Thu, 8 Mar 2018 09:49:51 +0200 Subject: [PATCH] Improved organization of ADLMIDI files in CMake generated projects --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0e182c3d3..15238366c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -650,6 +650,7 @@ file( GLOB HEADER_FILES g_inventory/*.h intermission/*.h menu/*.h + sound/adlmidi/*.h* sound/oplsynth/*.h sound/oplsynth/dosbox/*.h posix/*.h @@ -842,7 +843,6 @@ set( FASTMATH_SOURCES sound/adlmidi/adlmidi_private.cpp sound/adlmidi/dbopl.cpp sound/adlmidi/nukedopl3.c - ) set (PCH_SOURCES @@ -1358,7 +1358,7 @@ install(TARGETS zdoom COMPONENT "Game executable") source_group("Audio Files" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/sound/.+") -source_group("Audio Files\\ADL MIDI" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/sound//.+") +source_group("Audio Files\\ADL MIDI" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/sound/adlmidi/.+") source_group("Audio Files\\OPL Synth" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/sound/oplsynth/.+") source_group("Audio Files\\OPL Synth\\DOSBox" FILES sound/oplsynth/dosbox/opl.cpp sound/oplsynth/dosbox/opl.h) source_group("Audio Files\\Timidity" REGULAR_EXPRESSION "^${CMAKE_CURRENT_SOURCE_DIR}/sound/timidity/.+")