summaryrefslogtreecommitdiff
path: root/win32
Commit message (Collapse)AuthorAgeFilesLines
* Replace WIN32 with _WIN32 everywhereNirbheek Chauhan2020-08-211-1/+1
| | | | | | | | _WIN32 is defined on all Windows platforms by every compiler that targets Windows. We do not need WIN32 at all. Signed-off-by: Mark Harris <mark.hsj@gmail.com> Resolves https://github.com/xiph/opus/pull/104
* win32: Add ambisonics sources to VS projectJoshua Bowman2018-07-262-0/+20
| | | | | | | [mark.hsj: Add other missing files and update filter file] Signed-off-by: Mark Harris <mark.hsj@gmail.com> Fixes https://github.com/xiph/libopusenc/issues/9 Fixes https://github.com/xiph/opus-tools/issues/32
* Rename SSE 4.1 files to match their targets.Ralph Giles2017-09-112-12/+12
| | | | | | | | | Distinguish source files for the SSE 4.1 instruction set extension consistently by their filename. This makes it easier to check the correct flags are being set at build time. Signed-off-by: Jonathan Lennox <jonathan@vidyo.com>
* VS2015: remove previously ignored C4146 in kiss_fft.cRicardo Constantino2017-03-021-3/+1
| | | | | | | | C4146: unary minus operator applied to unsigned type, result still unsigned Fixed in a previous commit. Signed-off-by: Mark Harris <mark.hsj@gmail.com>
* VS2015: Ignore LNK4221 and properly force SSE off for Win32Ricardo Constantino2017-03-021-0/+4
| | | | | | | | | This warning complains of files that don't define any new symbols not being included in linking. GCC doesn't seem to complain about those, so neither should VS. Signed-off-by: Mark Harris <mark.hsj@gmail.com> Closes https://github.com/xiph/opus/pull/34
* VS2015: ignore C4244 warning in opus_compare.cRicardo Constantino2017-03-021-1/+3
| | | | | | | | opus_compare.c defines the bitstream so we avoid changing it by ignoring the non-breaking warning instead of changing the file. Signed-off-by: Mark Harris <mark.hsj@gmail.com> Resolves https://github.com/xiph/opus/issues/21
* VS2015: only compile fixed silk for appropriate configsRicardo Constantino2017-02-202-324/+28
| | | | | Signed-off-by: Mark Harris <mark.hsj@gmail.com> Closes https://github.com/xiph/opus/pull/26
* VS2015: Move back PreprocessorDefinitions to opusRicardo Constantino2017-02-202-2/+2
| | | | | | They're only needed in that project, no need to be in common.props. Signed-off-by: Mark Harris <mark.hsj@gmail.com>
* VS2015: join common options in a properties fileRicardo Constantino2017-02-206-2903/+204
| | | | | | | | | | | | | | Should make the projects a bit easier to digest and the differences between the different configurations and platforms be more obvious. A (happy?) side effect of this is the static libraries are now about the same size as the ones produced by GCC and seem to build fine with opus-tools. Needs testing with other third party applications to make sure nothing is missing that shouldn't. Signed-off-by: Mark Harris <mark.hsj@gmail.com>
* VS2015: remove dead options for linker in static configurationsRicardo Constantino2017-02-201-19/+2
| | | | Signed-off-by: Mark Harris <mark.hsj@gmail.com>
* genversion.bat: generate same version as update_versionRicardo Constantino2016-11-171-16/+7
| | | | | | | | | | | | | | Remove version.mk and references to it in the repo. genversion.bat will now generate the same version strings as update_version script, i.e. without 'v' prefix and without a fallback if git archive is used. If run from a release tarball it'll use package_version, like configure. If run from a git repo, it will use the same 'git describe' with '-dirty' as update_version. Signed-off-by: Ralph Giles <giles@thaumas.net>
* vs2015: reenable DebugDLL versions of opus_demoRicardo Constantino2016-11-101-0/+4
| | | | Signed-off-by: Ralph Giles <giles@thaumas.net>
* vs2015: Add missing file to test_opus_encode.Ricardo Constantino2016-11-032-0/+4
| | | | Signed-off-by: Ralph Giles <giles@thaumas.net>
* vs2015: include files added in 76674feaRicardo Constantino (:RiCON)2016-09-012-0/+8
| | | | Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* VS2015: Ignore warning 4146 in celt/kiss_fft.c.Ricardo Constantino (:RiCON)2016-07-271-1/+4
| | | | | | | Warning 4146 is "unary minus operator applied to unsigned type, result still unsigned" Signed-off-by: Ralph Giles <giles@mozilla.com>
* win32/.gitignore: Add DebugDLL_fixed.Ricardo Constantino (:RiCON)2016-07-271-0/+1
| | | | Signed-off-by: Ralph Giles <giles@mozilla.com>
* VS2015: Disable building DebugDLL opus_demo.Ricardo Constantino (:RiCON)2016-07-271-5/+1
| | | | | | This works around the issue with using private symbols. Signed-off-by: Ralph Giles <giles@mozilla.com>
* vs2015: Merge opus dependencies into its project.Ricardo Constantino (:RiCON)2016-07-2717-3419/+2363
| | | | | | | Since DLL builds can't include both fixed and float, separate DLL_fixed configurations added that include fixed silk code and also set FIXED_POINT. Signed-off-by: Ralph Giles <giles@mozilla.com>
* VS2015: Mirror changes in *.mk files from exp_lbr_tune merge.Ricardo Constantino (:RiCON)2016-07-266-24/+4
| | | | Signed-off-by: Ralph Giles <giles@mozilla.com>
* VS2015: Suppress a few warnings.Ricardo Constantino (:RiCON)2016-07-269-54/+8
| | | | | | | | | | SDLCheck is a superset of BufferSecurityCheck and is off by default. If it's set, it complains that it's overriden by BufferSecurityCheck. Warning 4996 is already ignored in other binaries (fopen being deprecated and suggesting fopen_s). NoExtensions isn't a valid value for EnableEnhancedInstructionSet in x64 builds.
* Create a simple project to create version.h.Ricardo Constantino (:RiCON)2016-07-267-67/+260
| | | | | | | | | Run before any other project. Avoids trying to create and replace version.h more than once which led to file-locking errors with multicore builds. Signed-off-by: Ralph Giles <giles@mozilla.com>
* Move .exe back to root .gitignore for mingw buildsRicardo Constantino (:RiCON)2016-05-181-1/+0
|
* Remove VS2010 project files.Ralph Giles2016-05-1819-3030/+0
| | | | | | Visual Studio 2015 has been out for a while, and has a gratis version. It doesn't make sense to maintain parallel support for older releases.
* Move Visual Studio GitIgnores to own fileOrestes Zoupanos2016-05-171-0/+25
|
* Fix DLL errors and Additional Library DirectoriesOrestes Zoupanos2016-05-172-8/+8
|
* Fix VS2015 dynamic builds by adding DLL_EXPORT to CFLAGSRicardo Constantino (:RiCON)2016-05-111-4/+4
| | | | Needed after 6e96173.
* fix build settings for DLL project, runtime library must be linked to DLL ↵uraymeiviar2016-05-119-90/+90
| | | | too to prevent heap deallocation error
* Added Visual Studio 2015 solution and added ReleaseDLL and DebugDLL Project ↵uraymeiviar2016-05-1119-0/+5889
| | | | settings to produce .dll file instead of .lib
* Use ProjectReference rather than AdditionalDependencies for test programs, ↵Jonathan Lennox2015-09-015-20/+68
| | | | | | so build dependencies are right. Actually add source code to opus_demo project, and fix its include paths.
* Add intrinsics support to Visual Studio build.Jonathan Lennox2015-09-017-19/+114
|
* Add ~ to the arguments of genversion.batJoshua Milas2014-07-031-6/+6
| | | | | | | | | | | | genversion.bat would fail if an argument was passed with quotations. This is because the quotations were not being stripped before using them as variables, causing the _temp files not being created. Adding ~ to the arguments causes windows to strip the quotations, enabling it to be used with path names containing spaces and the MSVS pre-build event. Signed-off-by: Ralph Giles <giles@mozilla.com>
* Drop the use of --always to git-describeRon2013-11-281-1/+1
| | | | | | | This is a partial revert of c435f06b308e52d7a5d2aad9eec98a1541832b47, since it didn't actually fix the original problem with shallow clones. It returns just a hash, not something we (currently) can extract as a version string in the form things are expecting.
* Replace "inline" with OPUS_INLINE.Gregory Maxwell2013-10-281-2/+0
| | | | | | | | | Newer versions of MSVC are unhappy with the strategy of the build environment redefining "inline" (even though they don't support the actual keyword). Instead we define OPUS_INLINE to the right thing in opus_defines.h. This is the same approach we use for restrict.
* Don't use --dirty in genversion.bat.Ralph Giles2013-10-011-1/+1
| | | | | | | This script updates version.mk, which is under version control, so the tree is always dirty. Until the script is updated to write package_version instead, incorporating version.mk as a fallback the way update_version does, it's better not to use --dirty.
* Pass --always to git describe.Ralph Giles2013-10-011-2/+2
| | | | | This generates a useful version string even for --depth=1 checkouts. The option was added in git v1.6.6.
* Fix more VS2010 header paths.Ralph Giles2013-08-213-41/+41
|
* Fix relative paths the header file in the VS2010 projects.Ralph Giles2013-08-214-46/+46
| | | | | | This prevented opening the files from the 'Solution Explorer' interface where the source listing is displayed. Thanks to Koen Vos for reporting the issue.
* Disable MSVC posix security warnings in the project file.Ralph Giles2013-07-154-8/+15
| | | | | | | | | | | | | By default Visual Studio warns about various C stdlib calls, recommending non-portable replacements instead. We disable this warning in a number of places in the source. Since they're specific to the Visual Studio build, it's better to disable them just in the project files where they always apply to the correct toolchain. I have only added the disable setting to project files which need it currently: opus, test_opus_encode, and test_opus_decode.
* Big squashed commit of Garf's MSVC reorg:Jean-Marc Valin2013-06-2720-6/+2900
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 77880655f652c54415e4b5f03b5984b951f5267b Author: Timothy B. Terriberry <tterribe@xiph.org> Date: Wed Jun 26 12:23:53 2013 +0200 Fix version.mk parsing in genversion.bat. This was broken by the changes in 0482c82f to make it work with spaces. CMD interprets the quotes to mean the argument to FOR is a string, not a file name. Instead, we expand the path to a short file name. Signed-off-by: Gian-Carlo Pascutto <gcp@sjeng.org> commit 8e97847ecac3a04956747b117fefef14939cbcbe Merge: 0482c82 3c0aa8f Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Wed Jun 26 12:19:41 2013 +0200 Merge branch 'master' into msvc_reorg commit 0482c82fea6dd397a7d2ab50dc6cda4965278fc2 Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Tue May 21 17:59:30 2013 +0200 Make genversion.bat work in paths with spaces. commit 3648ec55b7511119735280fc49bc57c7a3b55d6a Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Tue May 21 17:42:14 2013 +0200 Rework output & intermediate dirs for parallel build support. commit c367a0fcfcbf5551fb65d61365d9b832d7af2b38 Merge: bafb1dd b518b56 Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Tue May 21 14:17:11 2013 +0200 Merge branch 'master' into msvc_reorg Conflicts: win32/VS2010/celt.vcxproj win32/VS2010/opus.vcxproj win32/VS2010/silk_common.vcxproj win32/VS2010/silk_float.vcxproj commit bafb1dda3fcf6785decdfb42a1f934c7fab0c567 Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Mon Mar 11 21:25:28 2013 +0100 Fix two more files to not have the Platform Toolset explicitly set. commit c69c870201fec7461862fe79731a37866a1810f1 Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Mon Mar 11 21:08:00 2013 +0100 Add missing SILK MSVC project files. commit a0d41fb7f97558c8f812d500b9027c77907c37c0 Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Fri Mar 8 15:00:51 2013 +0100 Use the default toolset in the MSVC project files. commit 34aac5b2637ed38c5620f0d876e08db232849933 Author: Gian-Carlo Pascutto <gcp@sjeng.org> Date: Fri Mar 8 14:54:41 2013 +0100 Move the MSVC project files outside the source tree. Bring the project structure more in line with the one in libogg.
* Enable SSE for MSVCMuldeR2013-06-171-0/+5
| | | | Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
* Convert quotes in license headers to ASCII.Timothy B. Terriberry2013-05-191-1/+1
| | | | | | Since the last patch originally had them mangled (presumably by mailer, http server, or something else), let's just get rid of them.
* missing comment in win32/config.hJean-Marc Valin2012-12-211-1/+1
|
* Remove the obsolete CELT_BUILD define from win32/config.h.Ralph Giles2012-12-071-2/+0
|
* Adds missing license headers on some scripts and test filesJean-Marc Valin2012-10-301-0/+27
|
* Include process.h for _getpid on windows.Ralph Giles2012-10-231-1/+0
| | | | | | | | | | | Previously the test programmes happened to link because _getpid returns an int, which is the default prototype. Instead, include the appropriate header to supply a real declaration, fixing the associated warning. I moved the getpid->_getpid define to the site of the header inclusion to make clear what's going on, rather than have it floating in win32/config.h.
* genversion now adds the header comment to version.mkChris Moeller2012-08-161-1/+2
|
* Updated Win32 genversion.bat to generate version.mk if Git is found, use it ↵Chris Moeller2012-08-161-1/+29
| | | | if it isn't, and produce unknown version and leave it untouched if it isn't already found
* Disable stack-protector for mingw32 and remove win32 restrict define.Gregory Maxwell2012-08-091-1/+0
|
* Fixes MSVC projects and adds git version generator toolChris Moeller2012-07-202-1/+18
|
* Make MSVC build work in parallel.Gian-Carlo Pascutto2012-07-161-1/+1
| | | | | | | | The (non-default) temporary & output dirs configured in the projects could cause issues when doing compilation on a multiprocessor machine. Cleaned this up a little to use the defaults, which makes that work again and doesn't make the output structure any worse. Also removed debug output for release binaries & a tiny whitespace fix.