Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Add "qhull" package #1596

Merged
merged 11 commits into from Oct 25, 2018
Merged

Add "qhull" package #1596

merged 11 commits into from Oct 25, 2018

Conversation

t0p4
Copy link
Contributor

@t0p4 t0p4 commented Oct 25, 2018


find_package(qhull CONFIG REQUIRED)

add_executable(boo boo.cpp)
#target_link_libraries(boo qhull::libqhull)
Copy link
Owner

Choose a reason for hiding this comment

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

Some problem with find_package?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Could you give me some advice on how to test bin files?

Copy link
Owner

Choose a reason for hiding this comment

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

test bin files

What bin files you want to test and how?

Hunter CI testing is only for building example, not running (at least at this moment). For local tesitng see:

Copy link
Contributor Author

@t0p4 t0p4 Oct 25, 2018

Choose a reason for hiding this comment

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

like, for example project build some bin files and i want to test it

.. _pkg.qhull:

qhull
===
Copy link
Owner

Choose a reason for hiding this comment

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

Use ===== instead of ===


- `Official <https://github.com/qhull/qhull>`__
- `Hunterized <https://github.com/t0p4/qhull>`__
- `Example <https://github.com/t0p4/qhull/blob/hunter-7.2.0/CMakeLists.txt>`__
Copy link
Owner

Choose a reason for hiding this comment

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

Please use link to Hunter repository.

VERSION
7.2.0-p0
URL
"https://github.com/t0p4/qhull/archive/v7.2.0-p0.tar.gz"
Copy link
Owner

Choose a reason for hiding this comment

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

I've created https://github.com/hunter-packages/qhull and branch hunter-7.2.0. Please send patches there, see:

- `Official <https://github.com/qhull/qhull>`__
- `Hunterized <https://github.com/t0p4/qhull>`__
- `Example <https://github.com/t0p4/qhull/blob/hunter-7.2.0/CMakeLists.txt>`__
- Added by `qhull_developer <https://github.com/t0p4>`__ (`pr-N <https://github.com/ruslo/hunter/pull/1596>`__)
Copy link
Owner

Choose a reason for hiding this comment

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

s,pr-N,pr-1596,

@@ -0,0 +1,4 @@
#include <string.h>
Copy link
Owner

Choose a reason for hiding this comment

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

We are not testing anything here, please add at least some header from package.


- `Official <https://github.com/qhull/qhull>`__
- `Hunterized <https://github.com/hunter-packages/qhull>`__
- `Example <https://github.com/hunter-packages/qhull/blob/hunter-7.2.0/CMakeLists.txt>`__
Copy link
Owner

Choose a reason for hiding this comment

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

No, it should be https://github.com/ruslo/hunter/blob/master/examples/qhull/CMakeLists.txt, see template file:

And documentation:

cmake/projects/qhull/hunter.cmake Outdated Show resolved Hide resolved
- `Example <https://github.com/ruslo/hunter/blob/master/examples/qhull/CMakeLists.txt>`__
- Added by `qhull_developer <https://github.com/t0p4>`__ (`pr-1596 <https://github.com/ruslo/hunter/pull/1596>`__)

.. code-block:: cmake
Copy link
Owner

Choose a reason for hiding this comment

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

find_package(qhull CONFIG REQUIRED)

add_executable(boo boo.cpp)
#target_link_libraries(boo qhull::libqhull)
Copy link
Owner

Choose a reason for hiding this comment

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

test bin files

What bin files you want to test and how?

Hunter CI testing is only for building example, not running (at least at this moment). For local tesitng see:

@@ -0,0 +1,4 @@
#include <libqhull.h>
Copy link
Owner

Choose a reason for hiding this comment

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

Not working:

examples/qhull/boo.cpp:1:22: fatal error: libqhull.h: No such file or directory

Copy link
Contributor Author

@t0p4 t0p4 Oct 25, 2018

Choose a reason for hiding this comment

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

It's work, it can't find path. I need your advice to make it correct

Copy link
Owner

Choose a reason for hiding this comment

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

I need your advice to make it correct

Advice about what?

@ruslo ruslo merged commit 3aabd4d into ruslo:master Oct 25, 2018
@t0p4 t0p4 deleted the pr.qhull branch October 25, 2018 12:57
@t0p4 t0p4 restored the pr.qhull branch October 25, 2018 12:57
@ruslo
Copy link
Owner

ruslo commented Oct 25, 2018

@t0p4 t0p4 deleted the pr.qhull branch October 25, 2018 15:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants