Fixed Gradle build to actually export proper functions

This commit is contained in:
Fredric Silberberg
2015-08-23 00:33:31 -04:00
parent 29f73cb5c1
commit c846dff524
2 changed files with 6 additions and 3 deletions

View File

@@ -67,7 +67,10 @@ model {
}
eachPlatform {
cppCompiler.withArguments { args ->
args << '/EHsc' << '/DNOMINMAX' << '/D_SCL_SECURE_NO_WARNINGS' << '/DEF:ntcore.def'
args << '/EHsc' << '/DNOMINMAX' << '/D_SCL_SECURE_NO_WARNINGS'
}
linker.withArguments { args ->
args << '/DEF:ntcore.def'
}
}
}
@@ -100,10 +103,10 @@ model {
}
exportedHeaders {
srcDirs = ["include"]
includes = ["**/*.h"]
}
}
}
}
}
}

View File

@@ -32,7 +32,7 @@ NT_SetLogger @33
NT_CreateRpc @34
NT_CreatePolledRpc @35
NT_PollRpc @36
NT_PostRpcRepsonse @37
NT_PostRpcResponse @37
NT_CallRpc @38
NT_GetRpcResult @39
NT_PackRpcDefinition @40