Skip to content

Conversation

@diivm
Copy link
Collaborator

@diivm diivm commented Jul 6, 2021

Closes #25

WIP

@diivm diivm added the gsoc-2021 label Jul 6, 2021
@diivm diivm force-pushed the devel/cmake-frontend branch from b489eee to 717e372 Compare July 6, 2021 20:43
Copy link
Member

@kunaltyagi kunaltyagi left a comment

Choose a reason for hiding this comment

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

The initial query is also created by a script? (bash script is ok)

@diivm
Copy link
Collaborator Author

diivm commented Jul 7, 2021

The initial query is also created by a script? (bash script is ok)

@kunaltyagi

Step-by-step:

1. Navigate to your cmake project top-level directory.
2. Create a build directory build/.
3. Create the API directory build/.cmake/api/v1/query
4. Create the file build/.cmake/api/v1/query/codemodel-v2 and leave it empty
5. Re-run cmake (the configuration step)
6. CMake should have automatically created the directory build/.cmake/api/v1/reply containing the replies to our query.

(via https://silizium.io/post/cmake_build_information/)

How do we want to do it? A script or let the user handle it?

@diivm diivm changed the title CMake frontend Develop CMake frontend Jul 7, 2021
@diivm diivm force-pushed the devel/cmake-frontend branch from 717e372 to 2e4aef2 Compare July 8, 2021 00:25
@kunaltyagi
Copy link
Member

Thoughts on a 2 step script:

init_bindings.bash build/  # invokes `cmake .` as well to generate the results of the query
create_bindings.py --dir build --other-options

@diivm diivm force-pushed the devel/cmake-frontend branch 3 times, most recently from faedd8b to 13fddf9 Compare July 10, 2021 03:42
@diivm diivm force-pushed the devel/cmake-frontend branch from 13fddf9 to 53adb4a Compare July 18, 2021 01:27
@diivm diivm marked this pull request as ready for review August 13, 2021 16:29
@diivm diivm merged commit bd81f51 into PointCloudLibrary:master Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CMake frontend

2 participants