Skip to content

Problems building demos/examples against installed headers #8981

@joachim-reichel

Description

@joachim-reichel

Issue Details

In 6.1 Beta, the cmake scripts for demos and examples seem to no longer work with installed headers (independently of the remainder of the source code tarball).

The Debian package libcgal-dev contains the installed headers plus cmake support scripts. The package libcgal-demo contains tarballs of the demo, examples and data subdirectories. In past releases, it was possible to extract these tarballs and build all demos/examples against the installed headers and cmake scripts.

This does no longer work. demo/CMakeLists.txt and examples/CMakeLists.txt lack a project() line to use them independently. Adding that and changing the directory argument on the last line to "." makes the cmake configure step working again. But the generated default target does not seem to depend on anything. Building each demo/example individually works, but there does not seem to be a simple way to build them all anymore.

Maybe I need to adapt the packaging to some changes, but I couldn't find anything relevant in the changelog.

Environment

  • Operating system (Linux, 64 bits): Debian Sid
  • CGAL version: 6.1 Beta

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions