forked from musescore/MuseScore
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request musescore#5913 from igorkorsukov/mue_module_import
Moved all imports/exports to importexport module
- Loading branch information
Showing
126 changed files
with
251 additions
and
171 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 |
---|---|---|
@@ -0,0 +1,90 @@ | ||
#============================================================================= | ||
# MuseScore | ||
# Music Composition & Notation | ||
# | ||
# Copyright (C) 2020 MuseScore BVBA and others | ||
# | ||
# This program is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License version 2. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program; if not, write to the Free Software | ||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
#============================================================================= | ||
|
||
set(MODULE importexport) | ||
|
||
include (${PROJECT_SOURCE_DIR}/build/gch.cmake) | ||
|
||
include_directories( | ||
${PROJECT_SOURCE_DIR} | ||
${CMAKE_CURRENT_BINARY_DIR} | ||
) | ||
|
||
if (NOT MSVC) | ||
set(_all_h_file "${PROJECT_BINARY_DIR}/all.h") | ||
else (NOT MSVC) | ||
set(_all_h_file "${PROJECT_SOURCE_DIR}/all.h") | ||
endif (NOT MSVC) | ||
|
||
|
||
include(${CMAKE_CURRENT_LIST_DIR}/musicxml/musicxml.cmake) | ||
include(${CMAKE_CURRENT_LIST_DIR}/midiimport/midiimport.cmake) | ||
include(${CMAKE_CURRENT_LIST_DIR}/midiexport/midiexport.cmake) | ||
include(${CMAKE_CURRENT_LIST_DIR}/ove/ove.cmake) | ||
include(${CMAKE_CURRENT_LIST_DIR}/guitarpro/guitarpro.cmake) | ||
include(${CMAKE_CURRENT_LIST_DIR}/musedata/musedata.cmake) | ||
include(${CMAKE_CURRENT_LIST_DIR}/bb/bb.cmake) | ||
include(${CMAKE_CURRENT_LIST_DIR}/capella/capella.cmake) | ||
include(${CMAKE_CURRENT_LIST_DIR}/bww/bww.cmake) | ||
|
||
add_library ( | ||
${MODULE} STATIC | ||
${_all_h_file} | ||
${PCH} | ||
${MUSICXML_SRC} | ||
${MIDIIMPORT_SRC} | ||
${MIDIEXPORT_SRC} | ||
${OVE_SRC} | ||
${GUITARPRO_SRC} | ||
${MUSEDATA_SRC} | ||
${BB_SRC} | ||
${CAPELLA_SRC} | ||
${BWW_SRC} | ||
) | ||
|
||
target_link_libraries(${MODULE} | ||
${QT_LIBRARIES} | ||
midi # for midi import | ||
) | ||
|
||
if (NOT MSVC) | ||
set_target_properties ( | ||
${MODULE} | ||
PROPERTIES | ||
COMPILE_FLAGS "${PCH_INCLUDE} -g -Wall -Wextra -Winvalid-pch" | ||
) | ||
else (NOT MSVC) | ||
set_target_properties ( | ||
${MODULE} | ||
PROPERTIES | ||
COMPILE_FLAGS "${PCH_INCLUDE}" | ||
) | ||
endif (NOT MSVC) | ||
|
||
xcode_pch(${MODULE} all) | ||
|
||
# Use MSVC pre-compiled headers | ||
vstudio_pch( ${MODULE} ) | ||
|
||
# MSVC does not depend on mops1 & mops2 for PCH | ||
if (NOT MSVC) | ||
ADD_DEPENDENCIES(${MODULE} mops1) | ||
ADD_DEPENDENCIES(${MODULE} mops2) | ||
endif (NOT MSVC) | ||
|
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
file(GLOB BB_SRC | ||
${CMAKE_CURRENT_LIST_DIR}/*.* | ||
) |
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
file(GLOB BWW_SRC | ||
${CMAKE_CURRENT_LIST_DIR}/*.* | ||
) |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
|
||
set (RTF2HTML_SRC | ||
${PROJECT_SOURCE_DIR}/thirdparty/rtf2html/fmt_opts.cpp | ||
${PROJECT_SOURCE_DIR}/thirdparty/rtf2html/rtf2html.cpp | ||
${PROJECT_SOURCE_DIR}/thirdparty/rtf2html/rtf_keyword.cpp | ||
${PROJECT_SOURCE_DIR}/thirdparty/rtf2html/rtf_table.cpp | ||
) | ||
|
||
file(GLOB CAPELLA_SRC | ||
${CMAKE_CURRENT_LIST_DIR}/*.* | ||
${RTF2HTML_SRC} | ||
) |
File renamed without changes.
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
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
file(GLOB GUITARPRO_SRC | ||
${CMAKE_CURRENT_LIST_DIR}/*.* | ||
) |
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
|
||
file(GLOB MIDIEXPORT_SRC | ||
${CMAKE_CURRENT_LIST_DIR}/*.* | ||
) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
|
||
set (BEATROOT_SRC | ||
${PROJECT_SOURCE_DIR}/thirdparty/beatroot/Agent.cpp | ||
${PROJECT_SOURCE_DIR}/thirdparty/beatroot/AgentList.cpp | ||
${PROJECT_SOURCE_DIR}/thirdparty/beatroot/BeatTracker.cpp | ||
${PROJECT_SOURCE_DIR}/thirdparty/beatroot/Induction.cpp | ||
) | ||
|
||
|
||
file(GLOB MIDIIMPORT_SRC | ||
${CMAKE_CURRENT_LIST_DIR}/*.* | ||
${BEATROOT_SRC} | ||
) |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
file(GLOB MUSEDATA_SRC | ||
${CMAKE_CURRENT_LIST_DIR}/*.* | ||
) |
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
file(GLOB MUSICXML_SRC | ||
${CMAKE_CURRENT_LIST_DIR}/*.* | ||
) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.