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

build: Add support for out of source build #126

Merged

Conversation

ciband
Copy link
Contributor

@ciband ciband commented Aug 10, 2019

Updated build to be out of source to clean up the workspace
and added build scripts to enforce this.

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Refactor
  • Performance
  • Tests
  • Build
  • Documentation
  • Code style update
  • Continuous Integration
  • Other, please describe:

Does this PR introduce a breaking change?

  • Yes
  • No

Does this PR release a new version?

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

  • It's submitted to the develop branch, not the master branch
  • All tests are passing
  • New/updated tests are included

If adding a new feature, the PR's description includes:

  • A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Chris Johnson and others added 3 commits August 10, 2019 06:31
Updated build to be out of source to clean up the workspace
and added build scripts to enforce this.

Corrected long standing compile error with cmake_example.

Removed cmake_example .gitmodules file.  This historically caused
git to do funny things having a nested .gitmodules in the source
tree.  Commented out the submodule clone in the CMakeList.txt and
setup the build script to mimic the submodule clone by copying the
cpp-crypto source into the correct directory.
Added Windows build scripts to do out of source build.
@ghost
Copy link

ghost commented Aug 10, 2019

Thanks for submitting this pull request! A maintainer will review this in the next few days and explicitly select labels so you know what's going on.

If no reviewer appears after a week, a reminder will be sent out.

@ghost
Copy link

ghost commented Aug 10, 2019

Your pull request doesn't follow our contribution guidelines. Please review and correct it.

@ghost ghost added the Complexity: Medium Less than 256 lines changed. label Aug 10, 2019
@ciband ciband changed the title Add support for out of source build build: Add support for out of source build Aug 12, 2019
Updated build and run tests steps for Linux, Mac, and Windows.
@sleepdefic1t
Copy link
Contributor

sleepdefic1t commented Aug 12, 2019

Perfect.
Thank you for the doc updates, @ciband

This looks good to go, @faustbrian

@codecov-io
Copy link

codecov-io commented Aug 13, 2019

Codecov Report

Merging #126 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #126   +/-   ##
========================================
  Coverage    91.38%   91.38%           
========================================
  Files           34       34           
  Lines          871      871           
========================================
  Hits           796      796           
  Misses          75       75

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update de42ef9...cab1f1a. Read the comment docs.

Added missing include to arkCrypto.h rollup header.  

This was causing the sample cmake program to fail to build in CI.
The previous commit include a header which has moved locations 
and is now not publicly available.
@ciband
Copy link
Contributor Author

ciband commented Aug 13, 2019

There is still an issue with cmake_examples compiling. This is a bigger issue than this PR.

The examples uses HexToBytes whose header used to be public but is now private. This is what is causing the examples to not build (but CI still passes).

My vote would be merge this PR as it and tackle the examples in a future PR.

@sleepdefic1t and I can talk about how we want to handle it (e.g. make header public, change usage, etc..)

@faustbrian faustbrian added the Bounty: Tier 4 Awarded for small features, refactorings, improvements. This is valued at 20 USD. label Aug 14, 2019
@ghost ghost added the Status: Contributor Approved The pull request has been approved by a contributor. label Aug 14, 2019
@ghost
Copy link

ghost commented Aug 14, 2019

A contributor has approved this PR. A maintainer will merge this PR shortly. If it shouldn't be merged yet, please leave a comment saying so and we'll wait.

Thank you for your contribution!

@faustbrian faustbrian merged commit 9184756 into ArkEcosystemArchive:develop Aug 14, 2019
@ghost
Copy link

ghost commented Aug 14, 2019

Your pull request has been merged and marked as tier 4. It will earn you $20 USD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bounty: Tier 4 Awarded for small features, refactorings, improvements. This is valued at 20 USD. Complexity: Medium Less than 256 lines changed. Status: Contributor Approved The pull request has been approved by a contributor.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants