1 This does not compile the java files extracted, we leave that to hat/bld or maven 2 3 Ensure cmake and jextract are in your path then :) 4 5 $ cmake -B build 6 $ cmake --build build --target extract 7 8 To remove previously extracted sources (careful with this axe eugene !) 9 10 $ rm -rf */src 11 $ rm -rf build 12 13 Then 14 15 $ tree 16 17 Should yield 18 19 ├── CMakeLists.txt 20 ├── cuda 21 │ └── CMakeLists.txt 22 ├── opencl 23 │ └── CMakeLists.txt 24 ├── opengl 25 │ └── CMakeLists.txt 26 └── README.txt