diff options
| -rw-r--r-- | .github/CODEOWNERS | 1 | ||||
| -rw-r--r-- | README.md | 32 |
2 files changed, 21 insertions, 12 deletions
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..1a0030b --- /dev/null +++ b/.github/CODEOWNERS | |||
| @@ -0,0 +1 @@ | |||
| * @traversaro | |||
| @@ -11,18 +11,18 @@ Windows without any modifications. | |||
| 11 | 11 | ||
| 12 | It follows the standard as described here: | 12 | It follows the standard as described here: |
| 13 | 13 | ||
| 14 | http://www.opengroup.org/onlinepubs/009695399/basedefs/dlfcn.h.html | 14 | * http://www.opengroup.org/onlinepubs/009695399/basedefs/dlfcn.h.html |
| 15 | http://www.opengroup.org/onlinepubs/009695399/functions/dlerror.html | 15 | * http://www.opengroup.org/onlinepubs/009695399/functions/dlerror.html |
| 16 | http://www.opengroup.org/onlinepubs/009695399/functions/dlsym.html | 16 | * http://www.opengroup.org/onlinepubs/009695399/functions/dlsym.html |
| 17 | http://www.opengroup.org/onlinepubs/009695399/functions/dlclose.html | 17 | * http://www.opengroup.org/onlinepubs/009695399/functions/dlclose.html |
| 18 | http://www.opengroup.org/onlinepubs/009695399/functions/dlopen.html | 18 | * http://www.opengroup.org/onlinepubs/009695399/functions/dlopen.html |
| 19 | 19 | ||
| 20 | Using This Library | 20 | Using This Library |
| 21 | ------------------ | 21 | ------------------ |
| 22 | 22 | ||
| 23 | ### Using CMake | 23 | ### Using CMake |
| 24 | Once the library has been installed, add to your project `CMakeLists.txt` : | 24 | Once the library has been installed, add to your project `CMakeLists.txt` : |
| 25 | ~~~ | 25 | ~~~cmake |
| 26 | ... | 26 | ... |
| 27 | find_package(dlfcn-win32 REQUIRED) | 27 | find_package(dlfcn-win32 REQUIRED) |
| 28 | ... | 28 | ... |
| @@ -32,7 +32,7 @@ target_link_libraries(<target> dlfcn-win32::dl) | |||
| 32 | If you want to use this library in a cross-platform project, a convenient way | 32 | If you want to use this library in a cross-platform project, a convenient way |
| 33 | to proceed is to define the CMake variable [`CMAKE_DL_LIBS`](https://cmake.org/cmake/help/latest/variable/CMAKE_DL_LIBS.html) | 33 | to proceed is to define the CMake variable [`CMAKE_DL_LIBS`](https://cmake.org/cmake/help/latest/variable/CMAKE_DL_LIBS.html) |
| 34 | (that is normally empty on Windows) and then use it for linking: | 34 | (that is normally empty on Windows) and then use it for linking: |
| 35 | ~~~ | 35 | ~~~cmake |
| 36 | ... | 36 | ... |
| 37 | if (WIN32) | 37 | if (WIN32) |
| 38 | find_package(dlfcn-win32 REQUIRED) | 38 | find_package(dlfcn-win32 REQUIRED) |
| @@ -43,13 +43,21 @@ target_link_libraries(<target> ${CMAKE_DL_LIBS}) | |||
| 43 | ... | 43 | ... |
| 44 | ~~~ | 44 | ~~~ |
| 45 | 45 | ||
| 46 | When cross-compiling you might want to set CMAKE_CROSSCOMPILING_EMULATOR to the path of wine to run tests. | 46 | When cross-compiling you might want to set [`CMAKE_CROSSCOMPILING_EMULATOR`](https://cmake.org/cmake/help/latest/variable/CMAKE_CROSSCOMPILING_EMULATOR.html) to the path of wine to run tests. |
| 47 | |||
| 48 | Authors | ||
| 49 | ------- | ||
| 50 | |||
| 51 | Contributors: | ||
| 52 | * [Pali Rohar (`pali`)](https://github.com/pali) | ||
| 53 | * [Timothy Gu (`TimothyGu`)](https://github.com/TimothyGu) | ||
| 54 | * [Ramiro Polla (`ramiropolla`)](https://github.com/ramiropolla) | ||
| 55 | * [Ralf Habacker (`rhabacker`)](https://github.com/rhabacker) | ||
| 56 | * [`xantares`](https://github.com/xantares) | ||
| 47 | 57 | ||
| 48 | Author | ||
| 49 | ------ | ||
| 50 | 58 | ||
| 51 | Written by Ramiro Polla in 2007. | 59 | Mantainer: |
| 52 | Maintained by Tiancheng "Timothy" Gu from 2013. | 60 | * [Silvio Traversaro (`traversaro`)](https://github.com/traversaro) |
| 53 | 61 | ||
| 54 | License | 62 | License |
| 55 | ------- | 63 | ------- |
