Make it possible to package directly from user build dir
See original GitHub issueHi,
I would like to have the possibility to be able to package directly from my build directory. e.g.
conan install ..
conan build .. // or cmake commands
conan direct_package ..
Thus making it possible to package without the need of having a conan background build. I know that the proposed method is to use test_package, but I have some issues with that:
First, I run into long path problems, even when redirecting the data folder. I still have pathes like d:\cdata\My.Company.BaseLibrary\0.1.0-unreleased-b512\claas\testing\build\63da998e3642b50bee33f4449826b2d623661505
already using up 115 characters of my 250 I have available on Windows. I know that my version is kind of long, but I have this requirement for nightly builds.
Second, I package the tests in the binary files based on an option. Using the test_package method, I need to build the binaries twice, resulting in long build times. I would like to build once, and then package different DLLs based on options.
Maybe I am looking at this the wrong way. If so, please point me in the correct direction.
Thanks, Claas
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:21 (21 by maintainers)
I have a preliminary working proof of concept, but needs some polishing: https://github.com/memsharded/conan/tree/feature/build_id_info
I don’t think we will be able to have it on time for next 0.19 (things are getting wild, 12 PR open atm 😃 😃 ), I am proposing it for next 0.20.
Great, thanks for reporting. I think we might try to delay the release to Tuesday if necessary, if you detect something on Monday, please report asap. Cheers