MuseScore/fluid
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
..
chan.cpp Feature: bend playback 2015-06-03 20:34:09 +05:00
CMakeLists.txt This commit contains all the changes to the CMake build system required to generate a valid Visual Studio 2017 solution and projects for MuseScore. 2018-08-03 09:15:42 +02:00
conv.cpp Misc. typos 2018-02-13 12:06:05 -05:00
conv.h Initial commit 2012-05-26 14:49:10 +02:00
dsp.cpp Implemented caching signals to prevent not generated sound in case of framesBuff from PortAudio is too small 2018-03-07 16:51:59 +02:00
fluid.cpp fix #273032: Provide an easy way to install soundfont, templates, etc. 2018-07-09 18:59:08 +02:00
fluid.h fix #167161 Make Fluid and Zerberus options the same 2018-07-06 15:53:35 +02:00
fluid_gui.ui improve some strings based on translator feedback 2018-01-23 10:37:07 +01:00
fluidgui.cpp fix #167161 Make Fluid and Zerberus options the same 2018-07-06 15:53:35 +02:00
fluidgui.h fix #167161 Make Fluid and Zerberus options the same 2018-07-06 15:53:35 +02:00
gen.cpp whitespace cleanup 2014-05-30 13:37:44 +02:00
gen.h whitespace cleanup 2014-05-30 13:37:44 +02:00
mod.cpp fix #269044: fluid: default velocity-to-filter cutoff modulator should be disabled 2018-02-08 16:21:44 +01:00
sfont.cpp fix #167161 Make Fluid and Zerberus options the same 2018-07-06 15:53:35 +02:00
sfont.h fix #167161 Make Fluid and Zerberus options the same 2018-07-06 15:53:35 +02:00
sfont3.cpp Fix start/end loop opcodes size int-> long long 2018-06-01 10:30:24 +02:00
tuning.cpp Misc. typos 2018-02-13 12:06:05 -05:00
tuning.h Initial commit 2012-05-26 14:49:10 +02:00
voice.cpp fix #270803 messed playback for specific sounds 2018-03-29 13:48:27 +02:00
voice.h Implemented caching signals to prevent not generated sound in case of framesBuff from PortAudio is too small 2018-03-07 16:51:59 +02:00