-
Notifications
You must be signed in to change notification settings - Fork 23
None Modules - how should I split Cpp2 type definitions and function declarations
to .h
file ?
#139
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
Comments
Cpp2 type definitions and function declarations
to .h
file ?Cpp2 type definitions and function declarations
to .h
file ?
Cpp2 type definitions and function declarations
to .h
file ?Cpp2 type definitions and function declarations
to .h
file ?
Cpp2 type definitions and function declarations
to .h
file ?Cpp2 type definitions and function declarations
to .h
file ?
I'm sorry it's been a bit since I looked at cpp2... can you help me create an MRE? Not sure what the intended workflow is |
CMakeLists.txt
test.cpp2
main.cpp2
openning
Creating
|
I think the problem is here No way to produce separated |
ok, thanks to https://github.com/isidorostsa/RayTrayCpp2 I think settings the CMakeLists.txt to
actually works, it does not produce include files but it compiles, unlike putting |
I've created
test.cpp2
I do not use modules, how do I include that?
I've created manually
test.h
with#pragma once
in the same source folder with thebut I'm not sure it is the right way of doing it, because I have to update that file manually whenever
gogo
signature changes.I've been thinking maybe
sed
can help, becausecppfront
has no switch todo soThe text was updated successfully, but these errors were encountered: