Skip to content

Conversation

@Jopyth
Copy link
Contributor

@Jopyth Jopyth commented Jan 24, 2018

First of all a note: the configure script is awesome to use as a standalone script for other projects which are not based on cmake-init. However sometimes other projects require a setup with nested folders, e.g. expecting the build folder to be in build/Release or build/Debug.

These changes would allow the configure script to be used in these cases.

configure Outdated
echo ""

# Create build directory
if [ ! -d "./$BUILD_DIR" ]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the ./ so that absolute paths are handled correctly.

@Jopyth Jopyth force-pushed the add_parent_build_directory branch from 5f5f1a9 to df1cc14 Compare January 24, 2018 14:38
@sbusch42
Copy link
Member

nice :)

@sbusch42 sbusch42 merged commit f062670 into cginternals:master Jan 24, 2018
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.

3 participants