Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 1.66 KB

File metadata and controls

28 lines (24 loc) · 1.66 KB

Board Status Build Status codecov

CMake Server Java Bindings

Creates java bindings for CMake Server. Example usage,

        ServerConnection connection = new CMake(getCMakeInstallFolder())
                .newServerBuilder()
                .create();
        HandshakeRequest message = new HandshakeRequest();
        message.cookie = "my-cookie";
        message.generator = "Ninja";
        message.sourceDirectory = "./hello-world";
        message.buildDirectory = "./hello-world-output";
        ProtocolVersion version = new ProtocolVersion();
        version.major = 1;
        message.protocolVersion = version;
        connection.configure();
        connection.compute();
        CodeModel codemodel = connection.codemodel();

Building the Code

git clone https://github.com/jomof/cmake-server-java-bindings.git
cd cmake-server-java-bindings
./gradlew assemble check