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

Conversation

@michaelolbrich
Copy link
Contributor

CMake expects this name an generated the corresponding dependencies.
Without this the files are always regenerated.

@alexshalamov
Copy link
Contributor

We've changed parser to be pure C parser. I'm not sure why cmake expects .hpp, maybe because of https://github.com/01org/wds/blob/master/CMakeLists.txt#L3 ?

I think it would be better to tell to cmake to treat generated parser as C code.

By default cmake assumes parser.hpp is generated.
@michaelolbrich
Copy link
Contributor Author

I think the header file name is derived from the source file name: cpp -> hpp. Anyways, since cmake 3.4 there is an option to set the filename. Patch updated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants