-
I've created
assume I do not use modules, how should I include that?I've created manually
but I'm not sure it is the right way of doing it, because I have to update that file manually whenever I've been thinking maybe echo '#pragma once' > test.h
sed -n '/=== Cpp2 type declarations/,/=== Cpp2 type definitions and function declarations/p' test.cpp >> test.h |
Beta Was this translation helpful? Give feedback.
Answered by
shemeshg
Jun 10, 2024
Replies: 1 comment 1 reply
-
I think the problem is here No way to produce separated .h files without -pure-cpp2 that requires modules as a must, however export of functions in modules is not supported yet. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ok, thanks to https://github.com/isidorostsa/RayTrayCpp2
I think settings the CMakeLists.txt to
actually works...