Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Conversation

@dawagner
Copy link
Contributor

@krocard @tcahuzax Please review

   

@dawagner dawagner added this to the Version 3 milestone Oct 16, 2015
@dawagner dawagner changed the title Improve build experience [review] Improve build experience Oct 16, 2015
README.md Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

Why so ? I have never used absolute patch for CMake options ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Seen with you: it is necessary - at least on Windows. I can add an explanation if you like: "You don't know where relative paths will be evaluated from".

EDIT: 👍 done

Copy link
Contributor

Choose a reason for hiding this comment

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

Never mind, keep it like this. 👍

- Do not turn BASH_COMPLETION buid option on by default on Windows;
- Fix a typo in an option documentation;
- List known dependencies in the README;
- Give some pointers on how to easily compile on Windows;
- Print an error if SWIG isn't found when Python bindings are to be compiled.

Signed-off-by: David Wagner <david.wagner@intel.com>
On multi-configuration build systems (such as Visual Studio or NMake), the
build type (aka configuration) is decided at build time whereas on
single-configuration build systems, it is set at configuration time (obviously).

Remove the unnecessary `-DCMAKE_BUILD_TYPE` option from CMake invocation.

Signed-off-by: David Wagner <david.wagner@intel.com>
@dawagner dawagner force-pushed the improve-build-experience branch from c6839a7 to 6475e78 Compare October 19, 2015 14:43
We used to add the libxml2 directory to the PATH when building although we only
intended to do so for the purpose of the tests. It led CMake to find libxml2
for the wrong reasons. It actually shouldn't have been able to find it since
libxml2's dir wasn't added to the CMAKE_PREFIX_PATH.

The directory where libxml2 has been extracted is now added to the prefix path
and its 'bin' subdirectory also added to a variable only used during the tests.

Signed-off-by: David Wagner <david.wagner@intel.com>
@krocard
Copy link
Contributor

krocard commented Oct 19, 2015

:shipit:

@dawagner dawagner force-pushed the improve-build-experience branch from 6475e78 to e0a71cf Compare October 19, 2015 18:13
Use `cmake -L` and optionaly filter-out `^CMAKE_`.

This is done by hiding cache entries that are not one of those.

Signed-off-by: David Wagner <david.wagner@intel.com>
@dawagner
Copy link
Contributor Author

I made a small change to the last commit, on which we orally agreed upon.

dawagner added a commit that referenced this pull request Oct 20, 2015
Improve build experience

Add some doc, make it easy to list available configuration options and clean appveyor.yml up a bit.
@dawagner dawagner merged commit d1c6bf3 into intel:master Oct 20, 2015
@dawagner dawagner deleted the improve-build-experience branch October 20, 2015 08:12
@krocard krocard changed the title [review] Improve build experience Improve build experience Oct 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants