Skip to content

Conversation

@pskopnik
Copy link
Contributor

@pskopnik pskopnik commented Aug 29, 2017

These changes to SConstruct allow a simple way to include external projects with custom include / library paths by extending the [libraries] and [includes] sections of the build.conf file:

[libraries]
expro = /home/user/share/expro/lib

[includes]
expro = /home/user/share/expro/include

Effects:

  • -I/home/user/share/expro/include is added to all compiler calls
  • -L/home/user/share/expro/lib is added to all linker calls
  • -lexpro is added to all linker calls (determined by the expro key in the [libraries] section).

The inclusion of gtest, std and tbb works as before.

I'd propose including these in the main repository as they streamline the integration of external projects for all contributors (and all forks).

Backported from rolandglantz/networkit.

@kolja-esders
Copy link
Contributor

LGTM

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

Successfully merging this pull request may close these issues.

2 participants