Displaying 4 results from an estimated 4 matches for "cmake_shared_library_prefix".
2023 Jun 07
1
How to change the dynamic library project name ogg to libogg?
...file
> name is libogg, not ogg. I check the CMakeLists.txt and confilgure file
> in flac-1.4.2, and don't find how to change ogg project name to libogg.
>
Might have to figure out where cmake is installed on Windows, find the
file Modules\Platform\Windows.cmake and edit the line
set(CMAKE_SHARED_LIBRARY_PREFIX "") # lib
to
SET(CMAKE_SHARED_LIBRARY_PREFIX "lib")
Which will of course cause all DLL's to have the lib prefix.
Might be a different Platform file to edit too as I'm making assumptions
and haven't actually tested, no Windows here.
Dave
2023 Jun 07
1
How to change the dynamic library project name ogg to libogg?
I've added the following to Windows-MSVC.cmake, which I copied from
Windows-GNU.cmake
set(CMAKE_IMPORT_LIBRARY_PREFIX "lib")
set(CMAKE_SHARED_LIBRARY_PREFIX "lib")
set(CMAKE_SHARED_MODULE_PREFIX "lib")
set(CMAKE_STATIC_LIBRARY_PREFIX "lib")
set(CMAKE_FIND_LIBRARY_PREFIXES "lib" "")
When I do that, I still get the same warning:
libogg.exp : warning LNK4070: /OUT:ogg.dll directive in .EXP differs
from...
2023 Jun 06
2
How to change the dynamic library project name ogg to libogg?
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/flac-dev/attachments/20230606/21d5165c/attachment.htm>
2023 Jun 07
1
How to change the dynamic library project name ogg to libogg?
On 6/7/23, Martijn van Beurden <mvanb1 at gmail.com> wrote:
> I've added the following to Windows-MSVC.cmake, which I copied from
> Windows-GNU.cmake
>
> set(CMAKE_IMPORT_LIBRARY_PREFIX "lib")
> set(CMAKE_SHARED_LIBRARY_PREFIX "lib")
> set(CMAKE_SHARED_MODULE_PREFIX "lib")
> set(CMAKE_STATIC_LIBRARY_PREFIX "lib")
> set(CMAKE_FIND_LIBRARY_PREFIXES "lib" "")
>
> When I do that, I still get the same warning:
>
> libogg.exp : warning LNK4070: /OUT:ogg.dl...