Skip to content

Add CMake build with package configuration. - #4

Open
MichaelCoutlakis-Peralex wants to merge 1 commit into
Eleobert:masterfrom
MichaelCoutlakis-Peralex:cmake-install
Open

Add CMake build with package configuration.#4
MichaelCoutlakis-Peralex wants to merge 1 commit into
Eleobert:masterfrom
MichaelCoutlakis-Peralex:cmake-install

Conversation

@MichaelCoutlakis-Peralex

Copy link
Copy Markdown
  • Add CMake build with install and package config.
  • Add missing includes (MSVC)

Main reason for this PR was to add CMake install capability.

Note that I recommend a target name like eleobert::dbscan rather than dbscan::dbscan as this allows, for example, several dbscan targets to be built into the same benchmark application.

Result:

find_package(eleobert-dbscan CONFIG REQUIRED)

target_link_libraries(${PROJECT_NAME}
	PRIVATE
	eleobert::dbscan
)
#include <eleobert/dbscan.hpp>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant