-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
47 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
INCLUDE(BuildPlugin) | ||
|
||
BUILD_PLUGIN(midiimport MidiImport.cpp MidiImport.h | ||
ADD_LIBRARY(portsmf STATIC | ||
portsmf/allegro.cpp portsmf/allegro.h portsmf/allegrosmfwr.cpp | ||
portsmf/allegrord.cpp portsmf/allegrowr.cpp portsmf/allegrosmfrd.cpp | ||
portsmf/mfmidi.cpp portsmf/mfmidi.h portsmf/strparse.cpp | ||
portsmf/strparse.h portsmf/algrd_internal.h portsmf/algsmfrd_internal.h | ||
portsmf/trace.h MOCFILES MidiImport.h) | ||
portsmf/trace.h | ||
) | ||
|
||
BUILD_PLUGIN(midiimport MidiImport.cpp MidiImport.h MOCFILES MidiImport.h) | ||
TARGET_LINK_LIBRARIES(midiimport portsmf) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,19 @@ | ||
INCLUDE(BuildPlugin) | ||
|
||
# Avoid unused warnings for mididata.h | ||
IF(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang") | ||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-variable") | ||
ENDIF() | ||
|
||
INCLUDE_DIRECTORIES(adplug/src) | ||
|
||
BUILD_PLUGIN(opulenz | ||
OpulenZ.cpp | ||
OpulenZ.h | ||
ADD_LIBRARY(adplug STATIC | ||
adplug/src/opl.h | ||
adplug/src/fmopl.c | ||
adplug/src/fmopl.h | ||
adplug/src/temuopl.cpp | ||
adplug/src/temuopl.h | ||
) | ||
TARGET_INCLUDE_DIRECTORIES(adplug PUBLIC adplug/src) | ||
|
||
BUILD_PLUGIN(opulenz | ||
OpulenZ.cpp | ||
OpulenZ.h | ||
MOCFILES OpulenZ.h | ||
EMBEDDED_RESOURCES "${CMAKE_CURRENT_SOURCE_DIR}/*.png" | ||
) | ||
|
||
TARGET_LINK_LIBRARIES(opulenz adplug) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters