nmwsharp / geometry-central

Applied 3D geometry in C++, with a focus on surface meshes.
https://geometry-central.net
MIT License
1.01k stars 141 forks source link

Naming Convention for Installer CMake Config Files #175

Open hollowsunhc opened 3 months ago

hollowsunhc commented 3 months ago

Hi,

I'm currently writing down the implementation of CMake Config Files generated for the installer.

I was wondering what naming convention you'd prefer. At the moment, the directory structure is:

PS C:\dev\install\geometry-central> Get-ChildItem -Recurse -Name
include
lib
include\geometrycentral
include\geometrycentral\numerical
include\geometrycentral\pointcloud
include\geometrycentral\surface
include\geometrycentral\utilities
include\geometrycentral\numerical\...
include\geometrycentral\pointcloud\...
include\geometrycentral\surface\...
lib\cmake
lib\geometry-central.lib
lib\cmake\geometry-central
lib\cmake\geometry-central\geometrycentral-config-version.cmake
lib\cmake\geometry-central\geometrycentral-config.cmake
lib\cmake\geometry-central\geometrycentral-relwithdebinfo.cmake
lib\cmake\geometry-central\geometrycentral.cmake

Target is named geometrycentral::geometry-central and CMake variable needed to find the config file is

"geometrycentral_DIR": "C:/dev/install/geometry-central/lib/cmake/geometry-central",

Have a good day!

Patrick