Skip to content

Commit 8d11b5c

Browse files
oshaduravgvassilev
authored andcommitted
Adjust a modulemap file to be able to treat separate .c files
1 parent db9da53 commit 8d11b5c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build/unix/module.modulemap

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,13 @@ module ROOT_Foundation_Stage1_NoRTTI [system] {
6161
// link "lib/libGLEW.so"
6262
//}
6363

64+
// We have a few c files scattered all over graf3d. We need to have a module
65+
// which is built in C mode, to prevent trying to build the entire Graf3d module
66+
// within a C context.
67+
module "Graf3D.X3DBuffer.h_C" {
68+
requires !cplusplus
69+
header "X3DBuffer.h"
70+
export *
71+
}
72+
6473
// From this point on the contents of this file are automatically generated.

0 commit comments

Comments
 (0)