MSVC: Various fixes

* CMake
  * Compiler flags fixes
  * Don't strip
* Fix default template argument errors
* Fix VLAs. MSVC doesn't support C99, so Variable-Length-Arrays are not
  available. Use QVarLengthArray instead.
This commit is contained in:
Lukas W
2017-11-22 13:49:57 +01:00
parent 3d2062392d
commit 6224e5ed6b
8 changed files with 15 additions and 12 deletions

View File

@@ -118,7 +118,7 @@ ENDIF()
SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${LMMS_RCC_OUT} ${LMMS_UI_OUT} lmmsconfig.h lmms.1.gz")
IF(LMMS_BUILD_WIN32)
SET(EXTRA_LIBRARIES "-lwinmm")
SET(EXTRA_LIBRARIES "winmm")
ENDIF()
IF(LMMS_BUILD_APPLE)