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

Consider making enoki (cmake) installable #36

Closed
skgbanga opened this issue Sep 17, 2019 · 2 comments
Closed

Consider making enoki (cmake) installable #36

skgbanga opened this issue Sep 17, 2019 · 2 comments

Comments

@skgbanga
Copy link
Contributor

skgbanga commented Sep 17, 2019

Hello,

I have started using enoki in my project. Right now, I have basically cloned the entire repo into a subfolder and included enoki in my include paths. (using old cmake way).

It would be really nice to make it cmake installable. (Internally we use conan as package manager, and making a conan recipe of a project which is cmake installable is straightforward).

Essentially it would be nice if we can do this:

mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/my/path/ -G ninja ..
ninja
ninja install

I don't know enough cmake to do this myself though :/
PS: Some info: http://mariobadr.com/creating-a-header-only-library-with-cmake.html

@wjakob
Copy link
Member

wjakob commented Sep 18, 2019

Hi @skgbanga,
I would be happy to incorporate such a change, but you'll have to do the CMake changes I fear. I don't need this for any or my projects and am generally pretty busy :-). I'll close this ticket for now since it isn't really an issue of the library itself.
Wenzel

@wjakob wjakob closed this as completed Sep 18, 2019
@skgbanga
Copy link
Contributor Author

Fair enough. I will give it a shot.

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

No branches or pull requests

2 participants