Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: FLAC v1.3.3 (Read 158190 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: FLAC v1.3.3

Reply #176
If you want to build libogg + libFLAC DLL with MSVC, you just need to do something like this:
Code: [Select]
cmake -B build/dir -G Ninja -DBUILD_SHARED_LIBS=yes -DCMAKE_PREFIX_PATH=path/to/libogg/dir

BUILD_SHARED_LIBS is a standard cmake option to enable shared library:
https://cmake.org/cmake/help/latest/variable/BUILD_SHARED_LIBS.html

CMAKE_PREFIX_PATH is a standard cmake option to let it know where to search libraries:
https://cmake.org/cmake/help/latest/variable/CMAKE_PREFIX_PATH.html