Merge pull request #17 from 333fred/master

Fixed Gradle build to actually export proper functions

Fixes #13.
This commit is contained in:
Peter Johnson
2015-08-23 00:15:10 -05:00
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