Skip to content

Commit

Permalink
Merge branch 'HeadersInXcode' of https://github.com/fyzix/MuseScore
Browse files Browse the repository at this point in the history
  • Loading branch information
lasconic committed Aug 14, 2012
2 parents f8846ac + 356b124 commit 2d506f3
Show file tree
Hide file tree
Showing 13 changed files with 92 additions and 2 deletions.
7 changes: 7 additions & 0 deletions aeolus/aeolus/CMakeLists.txt
Expand Up @@ -20,12 +20,19 @@

include (${PROJECT_SOURCE_DIR}/build/gch.cmake)

if (APPLE)
file(GLOB_RECURSE INCS "*.h")
else (APPLE)
set(INCS "")
endif (APPLE)

add_library (aeolus STATIC
aeolus.cpp audio.cpp model.cpp addsynth.cpp scales.cpp
reverb.cpp asection.cpp division.cpp rankwave.cpp
rngen.cpp exp2ap.cpp
${PROJECT_BINARY_DIR}/all.h
${PCH}
${INCS}
)

set_target_properties (
Expand Down
7 changes: 7 additions & 0 deletions awl/CMakeLists.txt
Expand Up @@ -36,11 +36,18 @@ QT4_WRAP_CPP (mocs
denomspinbox.h
)

if (APPLE)
file(GLOB_RECURSE INCS "*.h")
else (APPLE)
set(INCS "")
endif (APPLE)

add_library (
awl STATIC
${PROJECT_BINARY_DIR}/all.h
${PCH}
${mocs}
${INCS}
aslider.cpp
knob.cpp
panknob.cpp
Expand Down
8 changes: 8 additions & 0 deletions bww2mxml/CMakeLists.txt
Expand Up @@ -21,7 +21,14 @@

include (${PROJECT_SOURCE_DIR}/build/gch.cmake)

if (APPLE)
file(GLOB_RECURSE INCS "*.h")
else (APPLE)
set(INCS "")
endif (APPLE)

add_library(bww STATIC
${INCS}
lexer.cpp
parser.cpp
symbols.cpp
Expand All @@ -30,6 +37,7 @@ add_library(bww STATIC

if (NOT MINGW)
add_executable(bww2mxml
${INCS}
lexer.cpp
main.cpp
mxmlwriter.cpp
Expand Down
7 changes: 7 additions & 0 deletions fluid/CMakeLists.txt
Expand Up @@ -25,6 +25,12 @@ set(SRC
conv.cpp gen.cpp mod.cpp rev.cpp tuning.cpp
)

if (APPLE)
file(GLOB_RECURSE INCS "*.h")
else (APPLE)
set(INCS "")
endif (APPLE)

if (SOUNDFONT3)
set(SRC ${SRC} sfont3.cpp)
endif (SOUNDFONT3)
Expand All @@ -33,6 +39,7 @@ add_library (fluid STATIC
${PROJECT_BINARY_DIR}/all.h
${PCH}
${SRC}
${INCS}
)
set_target_properties (
fluid
Expand Down
7 changes: 7 additions & 0 deletions libmscore/CMakeLists.txt
Expand Up @@ -34,10 +34,17 @@ add_custom_command(
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
)

if (APPLE)
file(GLOB_RECURSE INCS "*.h")
else (APPLE)
set(INCS "")
endif (APPLE)

add_library (
libmscore STATIC
${PROJECT_BINARY_DIR}/all.h
${mocs}
${INCS}
segmentlist.cpp fingering.cpp accidental.cpp arpeggio.cpp
articulation.cpp barline.cpp beam.cpp bend.cpp box.cpp
bracket.cpp breath.cpp bsp.cpp chord.cpp chordline.cpp
Expand Down
10 changes: 9 additions & 1 deletion manual/CMakeLists.txt
Expand Up @@ -15,8 +15,16 @@ include_directories(
${PROJECT_BINARY_DIR}
${PROJECT_SOURCE_DIR}
)

if (APPLE)
file(GLOB_RECURSE INCS "*.h")
else (APPLE)
set(INCS "")
endif (APPLE)

add_executable(
genManual
${INCS}
genManual.cpp
)
target_link_libraries(
Expand All @@ -36,4 +44,4 @@ set_target_properties (
PROPERTIES
COMPILE_FLAGS "-include all.h -I${QT_HEADERS_DIR} -D TESTROOT=\\\"${PROJECT_SOURCE_DIR}\\\" -g -Wall -Wextra"
)
endif(APPLE)
endif(APPLE)
8 changes: 8 additions & 0 deletions mscore/CMakeLists.txt
Expand Up @@ -67,6 +67,7 @@ if (OMR)
set(OMR_MOCS omrpanel.h)
endif (OMR)


QT4_WRAP_CPP (mocs
scoreview.h editinstrument.h editstyle.h edittempo.h instrdialog.h debugger.h
musescore.h navigator.h pagesettings.h palette.h mixer.h playpanel.h
Expand Down Expand Up @@ -144,13 +145,20 @@ if (OMR)
set(OMR_FILES omrpanel.cpp)
endif (OMR)

if (APPLE)
file(GLOB_RECURSE INCS "*.h")
else (APPLE)
set(INCS "")
endif (APPLE)

add_executable ( ${ExecutableName}
${qrc_files}
${ui_headers}
${mocs}
${PROJECT_BINARY_DIR}/all.h
${PCH}
${resource_file}
${INCS}

actions.cpp scoreview.cpp editinstrument.cpp editstyle.cpp
edittempo.cpp exportxml.cpp icons.cpp importbww.cpp importxml.cpp
Expand Down
7 changes: 7 additions & 0 deletions mstyle/CMakeLists.txt
Expand Up @@ -35,11 +35,18 @@ QT4_WRAP_CPP (mocs
windowmanager.h
)

if (APPLE)
file(GLOB_RECURSE INCS "*.h")
else (APPLE)
set(INCS "")
endif (APPLE)

add_library (
mstyle STATIC
${PROJECT_BINARY_DIR}/all.h
${PCH}
${mocs}
${INCS}
mstyle.cpp colorscheme.cpp colorutils.cpp tileset.cpp stylehelper.cpp frameshadow.cpp
animations.cpp animationdata.cpp dockseparatordata.cpp
dockseparatorengine.cpp enabledata.cpp genericdata.cpp headerviewdata.cpp
Expand Down
7 changes: 7 additions & 0 deletions msynth/CMakeLists.txt
Expand Up @@ -25,10 +25,17 @@ include_directories(
${PROJECT_SOURCE_DIR}
)

if (APPLE)
file(GLOB_RECURSE INCS "*.h")
else (APPLE)
set(INCS "")
endif (APPLE)

add_library (
msynth STATIC
${PROJECT_BINARY_DIR}/all.h
${PCH}
${INCS}
synti.cpp
)

Expand Down
7 changes: 7 additions & 0 deletions thirdparty/diff/CMakeLists.txt
Expand Up @@ -20,10 +20,17 @@

include (${PROJECT_SOURCE_DIR}/build/gch.cmake)

if (APPLE)
file(GLOB_RECURSE INCS "*.h")
else (APPLE)
set(INCS "")
endif (APPLE)

add_library(diff_match_patch STATIC
diff_match_patch.cpp
${PROJECT_BINARY_DIR}/all.h
${PCH}
${INCS}
)

set_target_properties (
Expand Down
7 changes: 7 additions & 0 deletions thirdparty/ofqf/CMakeLists.txt
Expand Up @@ -26,10 +26,17 @@ QT4_WRAP_CPP (mocs
qosctypes.h
)

if (APPLE)
file(GLOB_RECURSE INCS "*.h")
else (APPLE)
set(INCS "")
endif (APPLE)

add_library(ofqf STATIC
${PROJECT_BINARY_DIR}/all.h
${PCH}
${mocs}
${INCS}
qoscclient.cpp qoscserver.cpp qosctypes.cpp
)

Expand Down
5 changes: 4 additions & 1 deletion thirdparty/portmidi/CMakeLists.txt
Expand Up @@ -21,9 +21,12 @@
set(CMAKE_C_FLAGS "-DNEWBUFFER -DPMNULL")

if (APPLE)
file(GLOB_RECURSE INCS "*.h")

add_library (
portmidi STATIC
pm_common/pmutil.c
${INCS}
pm_common/pmutil.c
pm_common/portmidi.c
pm_mac/finddefault.c
pm_mac/pmmac.c
Expand Down
7 changes: 7 additions & 0 deletions thirdparty/rtf2html/CMakeLists.txt
Expand Up @@ -18,8 +18,15 @@
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================

if (APPLE)
file(GLOB_RECURSE INCS "*.h")
else (APPLE)
set(INCS "")
endif (APPLE)

add_library (
rtf2html STATIC
${INCS}
fmt_opts.cpp
rtf2html.cpp
rtf_keyword.cpp
Expand Down

0 comments on commit 2d506f3

Please sign in to comment.