stroupo / hash-maps

This repository contains some implementations for different hash maps.
0 stars 1 forks source link

Three different ways to use a CMake project in another CMake project #4

Closed lyrahgames closed 5 years ago

lyrahgames commented 5 years ago

In general there should be three ways to use a CMake project inside another project.

In my opinion a project should always make sure that every option is possible. For now, I have implemented the first approach. The third one should be easy. I have not tested the second one. We should even consider to test every possibility with our CI environment.

There should be even a possibility to create packages with different components for linux package managers. I think 'CPack' should be one of the tools we have to think about.

lyrahgames commented 5 years ago

The CMake package installation and exportation is implemented and tested by CircleCI. But it should still be tested with Windows and MacOS. It is also possible to uninstall the library. Additionally, I have added the installation of a pkgconfig-file.