示例#1
0
    private static bool BuildLibrary(string rootDirectory)
    {
        var cMakeDirectoryPath =
            Path.GetFullPath($"{rootDirectory}/src/cs/examples/helloworld/helloworld-c/my_c_library");
        var targetLibraryDirectoryPath = Path.GetFullPath($"{rootDirectory}/src/cs/examples/helloworld/helloworld-cs");

        return(Terminal.CMake(rootDirectory, cMakeDirectoryPath, targetLibraryDirectoryPath));
    }