[pcre-dev] [Bug 2785] New: CMake: static library with PIC an…

Góra strony
Delete this message
Autor: admin
Data:  
Dla: pcre-dev
Nowe tematy: [pcre-dev] [Bug 2785] CMake: static library with PIC, CMake config files and build static and shared library in one go, [pcre-dev] [Bug 2785] CMake: static library with PIC, CMake config files and build static and shared library in one go, [pcre-dev] [Bug 2785] CMake: static library with PIC, CMake config files and build static and shared library in one go, [pcre-dev] [Bug 2785] CMake: static library with PIC, CMake config files and build static and shared library in one go
Temat: [pcre-dev] [Bug 2785] New: CMake: static library with PIC and CMake config files
https://bugs.exim.org/show_bug.cgi?id=2785

            Bug ID: 2785
           Summary: CMake: static library with PIC and CMake config files
           Product: PCRE
           Version: N/A
          Hardware: x86
                OS: All
            Status: NEW
          Severity: wishlist
          Priority: medium
         Component: Code
          Assignee: Philip.Hazel@???
          Reporter: howisjw@???
                CC: pcre-dev@???


Created attachment 1392
--> https://bugs.exim.org/attachment.cgi?id=1392&action=edit
CMake modifications

Hello,

Currently, I am using the configure script to build the PCRE2 library which
works nicely. However, to easily use PCRE2 into my other CMake projects I
started using the CMake build system. Unfortunately, the CMake build system
lacks some features, so I implemented 2 of these missing features:

1) Building the static library with position independent code enabled.
2) Added the generation of CMake config files such it can be easily integrated
in other CMake projects.

The attached tar file contains the modifications I made (based on version
10.37). Hopefully, you can include into your repository.

One thing I would still like is that CMake builds both the shared and static
library in one go such it becomes closer what the configure script does. I am
willing to make these modifications but first I want to make sure that you
think this is a good idea.

Best regards,
Jan-Willem

--
You are receiving this mail because:
You are on the CC list for the bug.