libigl / libigl/libigl

Why export only igl::{core, common} targets

Open
#1,375 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cmake feature
Dominant language
C++
Stars
5.1k
Forks
1.2k
Avg merge
7h 33m
Merged PRs (30d)
8

Description

Hey igl devs,
If I'm understanding correctly the current cmake script only exports the igl::{core, common} targets.
What is the reason for doing so? When installing the library and then trying to find the cmake config file, it is therefore at the moment not possible to link against say the igl::opengl target.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the current CMake export and install configuration, then compare the exported igl::core and igl::common targets with igl::opengl in the installed package config. Done should clarify why only those targets are exported and whether installed consumers can link the intended igl targets.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.