-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Regroup data: scripts and function updates #4229
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
Merged
Merged
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
b9cf04d
add function get_data_file_path()
gdamiand afa51d7
Set CGAL_DATA_DIR in cmake (TODO: two default directories depending i…
gdamiand 1d88621
One example of use of get_data_file_path
gdamiand dbdac7a
whitespaces
gdamiand a00a539
Use CGAL_DATA_DIR only if it is defined
gdamiand 8296ba7
Remove cmp file for theta_io example in Cone_spanners_2 package.
gdamiand ea10502
Create directories for data (for now with one empty file toremove later)
gdamiand 9e9c183
Simplify function get_data_file_path (thanks @lrineau)
gdamiand 93017e8
remove get_ prefix
sloriot 5e4170b
remove placeholders
sloriot 8094be4
update script generating test scripts to account for CGAL_DATA_DIR
sloriot 6197135
set CGAL_DATA_DIR for ctest and cmd files
sloriot 7688066
update release creation script
sloriot 1e60a14
update default
sloriot a7ed934
add missing quotes
sloriot 71c41da
also remove data/test for public release
sloriot c8d55e9
copy data...
sloriot 6e06ef1
global data path is used when building all tests/examples/demos
sloriot fab5d07
add missing export
sloriot 422e0c3
use string instead of char*
sloriot 4c93263
fix wrong path
sloriot 3cefeeb
set CGAL_DATA_DIR in CGALconfig.cmake
sloriot 6e3828f
add in .in files
sloriot 913d6a6
Update Installation/cmake/modules/CGALConfig_binary.cmake.in
sloriot 3557c61
Use CGAL_SOURCE_DIR instead of CMAKE_SOURCE_DIR
gdamiand 63b1916
Add one example and one test in this pr to test the use of CGAL::data…
gdamiand 0939b0d
Use target_compile_definitions instead of add_definitions
gdamiand d140e5b
Add CGAL::Data target; link exe with this target in the create_single…
gdamiand 751fb38
Merge branch 'master' into CGAL_data-gdamiand
gdamiand 1c50254
Update one test in Point_set_processing_3 that uses a .cmd allowing t…
gdamiand d87f7d7
use CGAL_ROOT
sloriot 75be03f
update autotest
sloriot 878aef3
simplify
sloriot 3aa8506
Merge branch 'master' into CGAL_data-gdamiand
gdamiand 5e4372f
Avoid /cygdrive/c/ in the CGAL_DIR_PATH, it doesn't work when compile…
maxGimeno 8593825
Add special code for windows to replace the use of getenv
gdamiand 1d640c9
Merge branch 'CGAL_data-gdamiand' of github.com:gdamiand/cgal into CG…
gdamiand d7f56bb
Fix for MSVC
maxGimeno f6e27d4
fix for windows
gdamiand 2a6437f
Merge branch 'CGAL_data-gdamiand' of github.com:gdamiand/cgal into CG…
gdamiand 9ae15ac
trailing
gdamiand 386900e
Do not use envsubst
gdamiand 9571a88
Add backslashs
gdamiand f153a1e
Merge remote-tracking branch 'cgal/master' into HEAD
sloriot 1f4feaf
fix path
sloriot 78b0b2a
add target def in generated files for install
sloriot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| OFF | ||
| 4 4 0 | ||
| 0.0 0.0 0.0 | ||
| 1.0 0.0 0.0 | ||
| 0.0 1.0 0.0 | ||
| 0.0 0.0 1.0 | ||
| 3 0 1 2 | ||
| 3 0 3 1 | ||
| 3 0 2 3 | ||
| 3 1 3 2 | ||
|
|
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Point_set_processing_3/test/Point_set_processing_3/wlop_simplify_and_regularize_test.cmd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| data/sphere_20k.xyz | ||
| ${CGAL_DATA_DIR}/points_3/sphere_20k.xyz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gdamiand prior to here is where the cmake variable
CGAL_DATA_DIRmust be defined. From what I remember, the config file was not included before. You can start by rechecking this.This comment was marked as resolved.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Put the code in a cmake macro and use the macro wherever we need?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sloriot I tested, adding a message in CGAL_add_test.cmake; CGAL_DATA_DIR is defined.
How can I test one test that uses a cmd file please ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can merge in a detach or temporary branch the other PR and try to run ctest on
Surface_mesh_simplificationfor example.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To simplify tests; I updated one test in 1c50254 that uses a .cmd.
I tested locally, it works.