-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
[CMake] Add option to choose pcl::index_t
while compiling
#4166
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
SergioRAgostinho
merged 18 commits into
PointCloudLibrary:master
from
haritha-j:indices
Jun 10, 2020
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
3b11a2a
add cmake variables
haritha-j b78a2ad
add cmake variables
haritha-j 2810fda
add cmake variables
haritha-j 60cc20f
add index size options
haritha-j c8efa4d
add index size options
haritha-j 08e6a73
update pcl_config
haritha-j 0a9670a
fix pcl_config
haritha-j 3922340
Delete settings.json
haritha-j 9000c58
add cmake integration for indices type
haritha-j f10d8c2
Merge remote-tracking branch 'origin/indices' into indices
haritha-j 1910570
rename PCL_INDEX_SIGNED
haritha-j 6861e24
add HAVE_TBB
haritha-j 3ec2691
change default behalt behaviour
haritha-j 79e7e2b
undefine unused variable
haritha-j 7257576
update cmake help string
haritha-j dd9a404
Update cmake/pcl_options.cmake
haritha-j 7912d9f
remove PCL_INDEX_SIZE_TEMP
haritha-j 9059add
Merge branch 'indices' of https://github.com/haritha-j/pcl into indices
haritha-j 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 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.
Using
PCL_INDEX_SIZE_TEMP
might be better instead of${PCL_INDEX_SIZE}
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.
It looks like I can't follow both of these suggestions together. If I undefine
PCL_INDEX_SIZE_TEMP
, then at compile timePCL_INDEX_SIZE
cannot be set to it, because it is no longer available.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.
Oh, yeah. Can we just remove the temporary variable in that case? It's sole use seems to be comparison with 0
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.
I'm unresolving the conversation, because
PCL_INDEX_SIZE_TEMP
still needs to be removed.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.
My bad, I thought by remove @kunaltyagi meant I should undef
PCL_INDEX_SIZE_TEMP
, not get rid of it altogether.Is this what you had in mind?
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.
That's what I interpreted, because there's no need to actually define anything.