Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some minor fixes and updates #25

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

bnara
Copy link

@bnara bnara commented May 16, 2019

Thanks for making this code available. It is of great help in our work. I have a few minor fixes and updates.

bnara added 2 commits May 16, 2019 12:43
Compilation flags inherited from the Geant4 build possibly force
compiler flag `-std=c++11`.  If so, compilation under `gcc` fails
because the C++11 standard doesn't support curly brace aggregate
initialization with classes having member-initializers (e.g.,
`CADMesh::File::Token`).  This restriction was later lifted.  Forcing
compilation to the C++14 or later standard fixes this problem, resolving
upstream Issues 21 and 24.
Currently, only `CADMesh.hh` is installed.  Update `CMakeLists.txt` so
that every header from the source `include` directory is installed.
@bnara bnara changed the title Specify compilation to C++14 standard Some minor fixes and updates May 16, 2019
bnara added 2 commits May 16, 2019 15:45
CMake creates the configuration file `cadmesh-config.cmake` from
`cadmesh-config.cmake.in`.  Update the CMake module path so that
the example builds have access to the configured file.
When `WITH_SYS_ASSIMP=OFF`, CMake builds assimp from GitHub.  Allow
the user to specify a GitHub release tag.
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