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

Can not separate source and build directories #144

Open
lutter opened this issue Aug 18, 2017 · 1 comment
Open

Can not separate source and build directories #144

lutter opened this issue Aug 18, 2017 · 1 comment

Comments

@lutter
Copy link

lutter commented Aug 18, 2017

I am trying to use rake-compiler as part of a larger project that uses CMake. I would like to put everything that gets generated during the build into a separate directory. That largely works, with two exceptions:

  1. I can't set ext.config_script to an absolute path. rake-compiler will still prepend ext/<lib> to that and then complain that it can't find the script

  2. There doesn't seem to be a way to tell rake-compiler to put packages somewhere else, i.e. the pkg.package_dir of the generated Gem::PackageTask can't be influenced in any way

My apologies if there is a way to do this, but after trying a bunch of things and reading some of the code, I couldn't resolve these issues.

@kou
Copy link
Member

kou commented Aug 20, 2017

Can you create a small project that reproduces the problem?

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