-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
And read track name from file
- Loading branch information
Showing
14 changed files
with
569 additions
and
419 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
# Importer for SMF-like file format, such as .mid, .ove, .wrk | ||
|
||
INCLUDE(BuildPlugin) | ||
|
||
# check for drumstick-file | ||
PKG_CHECK_MODULES(DRUMSTICK_FILE REQUIRED drumstick-file>=0.5.0) | ||
IF(NOT DRUMSTICK_FILE_FOUND) | ||
MESSAGE(FATAL_ERROR "LMMS requires libdrumstick-file and drumstick-dev >= 0.5.0 - please install, remove CMakeCache.txt and try again!") | ||
ENDIF(NOT DRUMSTICK_FILE_FUND) | ||
MESSAGE(FATAL_ERROR "LMMS requires libdrumstick-file and drumstick-dev >= 0.5.0 - please install, remove CMakeCache.txt and try again!") | ||
ENDIF(NOT DRUMSTICK_FILE_FOUND) | ||
|
||
IF(LMMS_BUILD_APPLE) | ||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++") | ||
ENDIF(LMMS_BUILD_APPLE) | ||
INCLUDE(BuildPlugin) | ||
|
||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions -ldrumstick-file -Wno-reorder") | ||
LINK_DIRECTORIES(${DRUMSTICK_FILE_LIBDIR}) | ||
INCLUDE_DIRECTORIES(${DRUMSTICK_FILE_INCLUDEDIR}) | ||
|
||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions") | ||
|
||
BUILD_PLUGIN(smfimport SmfImport.cpp commonReader.cpp midiReader.cpp oveReader.cpp wrkReader.cpp | ||
MOCFILES SmfImport.h commonReader.h midiReader.h oveReader.h wrkReader.h ) | ||
|
||
TARGET_LINK_LIBRARIES(smfimport ${DRUMSTICK_LIBRARIES}) |
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
Oops, something went wrong.