File tree Expand file tree Collapse file tree 7 files changed +34
-9
lines changed Expand file tree Collapse file tree 7 files changed +34
-9
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ build.debug
9
9
build.qtc
10
10
win32build
11
11
win32install
12
+ win64build
13
+ win64install
12
14
build.xcode
13
15
applebuild
14
16
/* .config
Original file line number Diff line number Diff line change @@ -206,7 +206,9 @@ else (APPLE)
206
206
if (MINGW )
207
207
# -mno-ms-bitfields see #22048
208
208
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mno-ms-bitfields" )
209
- set (CMAKE_EXE_LINKER_FLAGS "-Wl,--large-address-aware" )
209
+ if (NOT BUILD_64 )
210
+ set (CMAKE_EXE_LINKER_FLAGS "-Wl,--large-address-aware" )
211
+ endif (NOT BUILD_64 )
210
212
else (MINGW )
211
213
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC" )
212
214
set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -Wextra -Woverloaded-virtual" )
Original file line number Diff line number Diff line change @@ -581,13 +581,25 @@ if (MINGW)
581
581
582
582
install ( TARGETS mscore RUNTIME DESTINATION bin )
583
583
584
+ if (BUILD_64 )
585
+ install ( FILES
586
+ ${MINGW_ROOT} /bin/libgcc_s_seh-1.dll
587
+ DESTINATION bin )
588
+ install ( FILES
589
+ ${MINGW_ROOT} /lib/portaudio.dll RENAME libportaudio-x86_64-w64-mingw32.static.dll
590
+ DESTINATION bin )
591
+ else (BUILD_64 )
592
+ install ( FILES
593
+ ${MINGW_ROOT} /bin/libgcc_s_dw2-1.dll
594
+ ${MINGW_ROOT} /lib/portaudio.dll
595
+ DESTINATION bin )
596
+ endif (BUILD_64 )
597
+
584
598
install ( FILES
585
- ${MINGW_ROOT} /bin/libgcc_s_dw2-1.dll
586
599
${MINGW_ROOT} /bin/libstdc++-6.dll
587
600
${MINGW_ROOT} /bin/libwinpthread-1.dll
588
601
${MINGW_ROOT} /lib/libogg.dll
589
602
${MINGW_ROOT} /lib/libsndfile-1.dll
590
- ${MINGW_ROOT} /lib/portaudio.dll
591
603
${MINGW_ROOT} /opt/bin/libeay32.dll
592
604
${MINGW_ROOT} /lib/libvorbis.dll
593
605
${MINGW_ROOT} /lib/libvorbisfile.dll
@@ -866,11 +878,6 @@ else (MINGW)
866
878
add_dependencies (mscore lrelease )
867
879
868
880
install ( FILES
869
- # ${MINGW_ROOT}/bin/libgcc_s_dw2-1.dll
870
- # ${MINGW_ROOT}/bin/libstdc++-6.dll
871
- # ${MINGW_ROOT}/bin/libwinpthread-1.dll
872
- # ${MINGW_ROOT}/opt/bin/libeay32.dll
873
- # ${MINGW_ROOT}/opt/bin/ssleay32.dll
874
881
${dll_ogg}
875
882
${dll_lame}
876
883
${dll_sndfile}
Original file line number Diff line number Diff line change 46
46
47
47
#include " click.h"
48
48
49
+ #define OV_EXCLUDE_STATIC_CALLBACKS
49
50
#include < vorbis/vorbisfile.h>
50
51
51
52
#ifdef USE_PORTMIDI
Original file line number Diff line number Diff line change 15
15
#include " libmscore/audio.h"
16
16
#include " libmscore/score.h"
17
17
18
+ #define OV_EXCLUDE_STATIC_CALLBACKS
18
19
#include < vorbis/vorbisfile.h>
19
20
20
21
namespace Ms {
Original file line number Diff line number Diff line change @@ -137,7 +137,11 @@ if (APPLE)
137
137
set ( POPPLER_COMPILE_FLAGS "-O2 -Wno-unknown-warning-option -Wno-write-strings -ansi -Wnon-virtual-dtor -Woverloaded-virtual -Wno-unused-private-field -Wno-return-stack-address -Wno-shift-negative-value -std=c++11" )
138
138
else (APPLE )
139
139
if (MINGW )
140
- set (POPPLER_COMPILE_FLAGS "-O2 -Wall -Wextra -Wno-write-strings -ansi -Wnon-virtual-dtor -Woverloaded-virtual -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-but-set-variable -Wno-format -std=c++11" )
140
+ if (BUILD_64 )
141
+ set (POPPLER_COMPILE_FLAGS "-O2 -Wall -Wextra -Wno-write-strings -ansi -Wnon-virtual-dtor -Woverloaded-virtual -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-but-set-variable -Wno-format -Wno-shift-negative-value -Wno-stringop-overflow -std=c++11" )
142
+ else (BUILD_64 )
143
+ set (POPPLER_COMPILE_FLAGS "-O2 -Wall -Wextra -Wno-write-strings -ansi -Wnon-virtual-dtor -Woverloaded-virtual -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-but-set-variable -Wno-format -std=c++11" )
144
+ endif (BUILD_64 )
141
145
else (MINGW )
142
146
if (NOT MSVC )
143
147
set (POPPLER_COMPILE_FLAGS "-O2 -Wno-write-strings -ansi -Wnon-virtual-dtor -Woverloaded-virtual -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-but-set-variable -std=c++11" )
Original file line number Diff line number Diff line change @@ -52,6 +52,14 @@ if (MSVC)
52
52
set_target_properties ( portmidi PROPERTIES
53
53
COMPILE_FLAGS "/wd4028 /wd4057 /wd4100 /wd4133 /wd4189 /wd4206 /wd4244 /wd4267 /wd4311 /wd4312 /wd4456 /wd4706"
54
54
)
55
+ else (MSVC )
56
+ if (MINGW )
57
+ if (BUILD_64 )
58
+ set_target_properties ( portmidi PROPERTIES
59
+ COMPILE_FLAGS "-Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-incompatible-pointer-types"
60
+ )
61
+ endif (BUILD_64 )
62
+ endif (MINGW )
55
63
endif (MSVC )
56
64
57
65
include_directories (
You can’t perform that action at this time.
0 commit comments