view libogg.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 15166e783a21
children
line wrap: on
line source

Build libogg
============

Version: 1.3.5

Download
--------

- http://downloads.xiph.org/releases/ogg/libogg-1.3.5.zip

Configure
---------

### Visual Studio (debug)

	cmake -S . -B build
		-DCMAKE_BUILD_TYPE=Debug
		-DCMAKE_INSTALL_PREFIX=C:/pkg/vs/debug
		-DBUILD_SHARED_LIBS=On
		-DBUILD_TESTING=Off
		-DINSTALL_DOCS=Off
		-DINSTALL_PKG_CONFIG_MODULE=Off
		-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
		-DBUILD_TESTING=Off
		-DINSTALL_DOCS=Off
		-DINSTALL_PKG_CONFIG_MODULE=Off
		-G"NMake Makefiles"

Build
-----

### Visual Studio

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