view libvorbis.md @ 62:c11f18adb87f default tip @

libjansson: fix CMake installation for release
author David Demelier <markand@malikania.fr>
date Fri, 10 Mar 2023 14:28:09 +0100
parents f964d1f49942
children
line wrap: on
line source

Build libvorbis
===============

Version: 1.3.7

Dependencies
------------

- libvorbis

Download
--------

- http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.7.zip

Configure
---------

### Visual Studio (debug)

	cmake -S . -B build
		-DCMAKE_BUILD_TYPE=Debug
		-DCMAKE_INSTALL_PREFIX=C:/pkg/vs/debug
		-DBUILD_SHARED_LIBS=On
		-G"NMake Makefiles"

### Visual Studio (release)

	cmake -S . -B build
		-DCMAKE_BUILD_TYPE=Release
		-DCMAKE_INSTALL_PREFIX=C:/pkg/vs/release
		-DBUILD_SHARED_LIBS=On
		-G"NMake Makefiles"

Build
-----

### Visual Studio

	cmake --build build && cmake --install build

### For debug

	rmdir /s /q C:\pkg\vs\debug\lib\pkgconfig

### For release

	rmdir /s /q C:\pkg\vs\release\lib\pkgconfig