lib(ogg|vorbis): both now use CMake

Mon, 09 Nov 2020 21:38:46 +0100

author
David Demelier <markand@malikania.fr>
date
Mon, 09 Nov 2020 21:38:46 +0100
changeset 27
64dba36e8a2a
parent 26
32677a51a532
child 28
5209404a68ae

lib(ogg|vorbis): both now use CMake

libogg.md file | annotate | diff | comparison | revisions
libvorbis.md file | annotate | diff | comparison | revisions
--- a/libogg.md	Tue Dec 04 11:23:48 2018 +0100
+++ b/libogg.md	Mon Nov 09 21:38:46 2020 +0100
@@ -1,8 +1,8 @@
 Build libogg
 ============
 
-Version:    1.3.3
-Date:       20181123
+Version:    1.3.4
+Date:       20201109
 
 Download
 --------
@@ -12,22 +12,26 @@
 Configure
 ---------
 
-1. Open win32\VS2010\libogg_dynamic.sln
-2. Select Release or Debug and x64 Visual Studio configuration
+### Visual Studio (debug)
+
+    cmake .
+        -DCMAKE_BUILD_TYPE=Debug
+        -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/debug
+        -DBUILD_SHARED_LIBS=True
+        -G"NMake Makefiles"
+
+### Visual Studio (release)
+
+    cmake .
+        -DCMAKE_BUILD_TYPE=Release
+        -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/release
+        -DBUILD_SHARED_LIBS=True
+        -G"NMake Makefiles"
 
 Build
 -----
 
-1. Press F7
-2. Copy include\ogg\*.h to C:\pkg\vs\<release|debug>\include\ogg
-
-Debug
+### Visual Studio
 
-1. Copy win32\VS2010\x64\Debug\libogg.dll to C:\pkg\vs\debug\bin
-2. Copy win32\VS2010\x64\Debug\libogg.pdb to C:\pkg\vs\debug\bin
-3. Copy win32\VS2010\x64\Debug\libogg.lib to C:\pkg\vs\debug\lib
-
-Release
-
-1. Copy win32\VS2010\x64\Release\libogg.dll to C:\pkg\vs\release\bin
-3. Copy win32\VS2010\x64\Release\libogg.lib to C:\pkg\vs\release\lib
\ No newline at end of file
+    nmake
+    nmake install
--- a/libvorbis.md	Tue Dec 04 11:23:48 2018 +0100
+++ b/libvorbis.md	Mon Nov 09 21:38:46 2020 +0100
@@ -1,8 +1,8 @@
 Build libvorbis
 ===============
 
-Version:    1.3.6
-Date:       20181123
+Version:    1.3.7
+Date:       20201109
 
 Dependencies
 ------------
@@ -12,37 +12,31 @@
 Download
 --------
 
-- http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.6.zip
+- http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.7.zip
 
 Configure
 ---------
 
-1. Open win32\VS2010\libvorbis_dynamic.sln,
-2. Select Release or Debug and x64 Visual Studio configuration,
-3. Remove vorbisdec and vorbisenc projects,
-4. Open libvorbis properties:
-  4.1 C/C++ -> General -> Additional Include Directories
-    4.1.1 Replace ..\..\..\..\libogg\include with C:\pkg\vs\<release|debug>\include
-  4.2 Linker -> General -> Additional Library Directories
-    4.2.1 Remove ..\..\..\libogg\win32\VS2010\...
-    4.2.2 Add C:\pkg\vs\<release|debug>\lib
-  4.2 Linker -> Input -> Additional Dependencies
-    4.2.1 Rename libogg_static.lib to libogg.lib
-5. Repeat the step 4 with libvorbisfile.
+### Visual Studio (debug)
+
+    cmake .
+        -DCMAKE_BUILD_TYPE=Debug
+        -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/debug
+        -DBUILD_SHARED_LIBS=True
+        -G"NMake Makefiles"
+
+### Visual Studio (release)
+
+    cmake .
+        -DCMAKE_BUILD_TYPE=Release
+        -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/release
+        -DBUILD_SHARED_LIBS=True
+        -G"NMake Makefiles"
 
 Build
 -----
 
-1. Press F7
-2. Copy include\vorbis\*.h to C:\pkg\vs\<release|debug>\include\vorbis
-
-Debug
+### Visual Studio
 
-1. Copy win32\VS2010\x64\Debug\libvorbis.dll to C:\pkg\vs\debug\bin
-2. Copy win32\VS2010\x64\Debug\libvorbis.pdb to C:\pkg\vs\debug\bin
-3. Copy win32\VS2010\x64\Debug\libvorbis.lib to C:\pkg\vs\debug\lib
-
-Release
-
-1. Copy win32\VS2010\x64\Release\libvorbis.dll to C:\pkg\vs\release\bin
-3. Copy win32\VS2010\x64\Release\libvorbis.lib to C:\pkg\vs\release\lib
\ No newline at end of file
+    nmake
+    nmake install

mercurial