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

Cleaning CPP builds #118

Open
coltfred opened this issue Apr 16, 2020 · 1 comment
Open

Cleaning CPP builds #118

coltfred opened this issue Apr 16, 2020 · 1 comment
Labels

Comments

@coltfred
Copy link
Member

The C++ headers and build files are not easy to cleanup today. For example, if you want to cleanup the cmake files you run something like this from the cpp dir.

rm -rf Makefile CMakeCache.txt CMakeFiles cmake_install.cmake rust_swig_* ironoxide_regen_*

If you want to cleanup the dynamic library:
cargo clean or rm -rf target/ironoxide_shared.* from the root.

If you want to cleanup the headers you run rm -rf cpp/generated

Needless to say, this is a mess. We should figure out which system we want to use to clean things up and add commands to do it.

@ernieturner
Copy link
Contributor

Another option would be to put the generated C/C++ into the target directory, like how Java works.

@clintfred clintfred changed the title Address cleanup issue for CPP build files and headers Cleaning CPP builds Apr 24, 2020
@clintfred clintfred added the c++ label Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants