Commit graph

34 commits

Author SHA1 Message Date
anatoly-os
f90018b857 Support 64-bit compilation
Update cmake files to support 64-bit compilation.
Add variables to easily switch between 32-bit and 64-bit compilation
Update msvc_build.bat to support both 32-bit and 64-bit compilation
Optimize msvc_build.bat to avoi excessive output
Update AppVeyor build scripts so that default compilation is 64-bit now
Make default configuration built from opening MuseScore directory 64-bit
RelWithDebInfo. All other configurations are up to msvc_build.bat
script.
Qt libs which are used for building are placed in msvc2017_64 folder.

These changes require new structure of the dependencies folder.
2018-08-23 10:48:56 +02:00
Joachim Schmitz
bfded68c29 tell git to ignore msvc.build.relwithdebinfo 2018-08-08 15:04:28 +02:00
alexandr
df114f189c Compile under MSVC: this commit caontais all changes to run MSVC build
1) fix some bugs which appear in runtime:  replace QString::tostdstring() to Foo.toUtf8().constData().

2) Enable start center online community. To use it you need download webengine in your QT lib. see instruction https://musescore.org/en/handbook/developers-handbook/compilation/compile-instructions-windows-visual-studio-2017-wip

3) update install steps. Add additional dlls for webEngine. Add copying dlls and musescore.exe to /msvc.install/bin folder. Run project will work with the "$(ProjectDir)\..\..\msvc.install\bin\MuseScore.exe" specified in Debugging field in mscore project

4) Moving AppVeyor from MinGW to MSVC. Exclude ALL MSVC project from INSTALL project. Exclude ALL from PACKAGE. Remove migw-cmake in script build, add .bat instead. Remove xcopy from 7z archive step

5) Fix warning : Warning C4703 potentially uninitialized local pointer variable '' used; Warning C4456 declaration of '' hides previous local declaration; Warning C4458 declaration of '' hides class member

6) Change path to 11 version wix toolset which created .msi installer package
2018-08-04 12:17:31 +02:00
Andres Fernandez de Prado
188386ba2e This commit contains all the changes to the CMake build system required to generate a valid Visual Studio 2017 solution and projects for MuseScore.
In detail, changes are as follows:
- Changed .gitignore to ignore VS-specific files and directories.
- VS uses a global settings file for the CMake build process: CMakeSettings.json. This is a text file, which is conceptually equivalent to the Makefile used to invoke CMake through Make. This file might need to be changed on an individual user basis, if dependencies are not installed in default paths.
- New cmake macros to copy files in build\CopyFilesMacros.cmake. The code is from https://cmake.org/pipermail/cmake/2009-March/027892.html
- Pre-compiled headers: Visual Studio requires to create pre-compiled headers per-project (a general per-solution PCH file, although possible, is extremely problematic and not recommended). Therefore, the  new macro vstudio_pch in CreatePrecompiledHeader.cmake was created to add the pre-compiled header creation step to an existing target (similar to what is done for XCode). The existing macro precompiled_header was modified to set the values for a group of variables. As part of this, the empty file all.cpp was added to the root of the source tree, as VS requires a source file to create pre-compiled headers (the header file alone can not be compiled).
- all.h is not copied to binary dir for MSVC, as I could determine no need to do this. Because of this, and the differences in PCH handling, the pseudo-targets mops1 and mops2 are not created for MSVC.
- Revised all steps conditional on toolchain, and added MSVC paths as needed. In many instances, the MSVC path is the same as the MINGW path, but not always.
- The manual (genManual) target used the getopt() functionality defined in POSIX libraries, which is not available on Windows. An LGPL'd port of getopt() for Windows was added in manual\getopt. The original source is in GitHub: nanoporetech/getopt-win32, based on a CodeProject article: https://www.codeproject.com/KB/cpp/getopt4win.aspx?msg=3987371. The corresponding CMakeLists.txt file was modified to include this files when compiling with MSVC.
- Changes in CMakeLists.txt files to create valid MSVC targets. The changes, always conditional on the MSVC toolchain, consist of:
     x Setting target properties for MSVC
     x Using all.h in source dir
     x Adding pre-compiled headers to target
     x Removing dependency from mops1 and mops2

Notes:
- The INSTALL target has NOT BEEN UPDATED for MSVC.
2018-08-03 09:15:42 +02:00
Anatoly-os
71c31da370 Update name for the new SoundFont
Adapt cmake, gitignore and code to work with the new SoundFont name: MS_General -> MuseScore_General.
2018-03-24 08:13:32 +01:00
lasconic
1d7280c694 Replace FluidR3Mono_GM by MS_General and don't store SoundFont on git anymore 2018-03-14 15:02:31 +01:00
ws
647aa6a117 new attempt in automatic slur layout 2018-03-07 10:47:15 +01:00
Joachim Schmitz
bd0a4fd27b Ignore project files created by Qt-Creator
see
https://musescore.org/de/node/98621/revisions/387414/view#Qt-Creator-IDE---method-2
2018-02-01 12:00:12 +01:00
lasconic
c02a142f6e fix mtest 2017-11-27 18:01:34 +01:00
ws
6af7e51d84 update mtest 2016-04-13 12:08:41 +02:00
ws
1960bbbff7 use AUTOMOC in cmake files 2015-01-27 15:23:20 +01:00
Joachim Schmitz
79da6a90c5 ignore some backup- and temp. files
created by vim and QtCreator
2014-05-16 13:58:12 +02:00
Joachim Schmitz
ad9bb6c111 update .gitignore
to match
http://musescore.org/en/developers-handbook/compilation/compile-instructions-windows-mingw-git
when using QtCreator
2014-01-14 17:44:53 +01:00
ws
fbb23617a2 add fmrest-1 to vtest 2013-09-17 14:50:35 +02:00
Andrey M. Tokarev
c9b9a15254 Permutation method for tuplet search 2013-07-13 14:48:44 +04:00
lasconic
027a964f94 ignore .DS_Store files 2013-04-08 15:25:44 +02:00
lasconic
61f0abe22c clean up icons 2013-04-03 12:19:06 +02:00
Tony Mountifield
84b134087e Improved handling of mscore/revision.h
Add mscore/revision.h to .gitignore, since it is a generated file.
Remove mscore/revision.h from the git index.
In Makefile, add "revision" as a dependency of "debug", as it
already is of "release".
2013-01-19 22:15:39 +00:00
Dénes Harmath
82efc112d3 Ignored Eclipse metadata 2012-10-17 00:52:56 +02:00
Marc Sabatella
c07719f02f add Unicode code points for selected music symbols
existing flat, natural, sharp, segno, and coda copied to Unicode
locations
new glyphs added for whole note through sixteenth note, plus dot
2012-09-23 11:47:27 -06:00
Werner Schweer
8d5a94808c build fixes for plugin manual 2012-08-08 11:16:55 +02:00
Werner Schweer
5d0280efcd add plugin manual to .gitignore 2012-08-07 20:52:07 +02:00
Werner Schweer
6c78cbfd2f build update 2012-07-25 14:52:55 +02:00
Werner Schweer
a73ccc3f8e fix doxygen build; add doxygen configuration for library only 2012-07-20 14:05:00 +02:00
Werner Schweer
73bdf8f75f use html and helpBrowser for online/offline help 2012-07-12 18:46:15 +02:00
Werner Schweer
bb2bf51371 Merge branch 'master' into qml
Conflicts:
	.gitignore
	mscore/CMakeLists.txt
2012-06-28 09:31:07 +02:00
lasconic
0775f63c60 remove qm files and add *.qm to gitignore 2012-06-20 12:01:08 +02:00
Maurizio M. Gavioli
b2ef1eed3f Add "*.user" to main .gitignore to ignore project config files created by Qt Creator 2012-06-15 12:49:17 +02:00
Werner Schweer
9e38c9ab7f Merge branch 'master' into qml
Conflicts:
	.gitignore
	CMakeLists.txt
	mscore/musescore.cpp
2012-06-04 20:27:36 +02:00
lasconic
00f6a59a3c add applebuild to gitignore 2012-06-01 20:56:00 +02:00
Werner Schweer
5187c9170f Merge branch 'master' of git://github.com/musescore/MuseScore into qml
Conflicts:
	.gitignore
	mscore/.CMakeLists.txt,
	mscore/.musescore.h,
	mscore/.plugins.cpp,
	mscore/.plugins.h,
	mscore/.qped
	share/plugins/.qped
2012-05-29 22:59:18 +02:00
lasconic
d6d693a9d1 wrong line ends in gitignore 2012-05-29 22:58:13 +02:00
lasconic
421494959a add gitignore 2012-05-29 22:44:06 +02:00
Werner Schweer
ed4debde5a add gitignore 2012-05-28 19:33:03 +02:00