Browse Source

dllimport and build

sequoia
Volker Birk 4 years ago
parent
commit
6326f76040
2 changed files with 5 additions and 5 deletions
  1. +2
    -4
      build-windows/pEpEngine.vcxproj
  2. +3
    -1
      sync/gen_codec.ysl2

+ 2
- 4
build-windows/pEpEngine.vcxproj View File

@ -68,8 +68,7 @@
<AdditionalDependencies>Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PreBuildEvent>
<Command>
</Command>
<Command>"$(ProjDir)generate_code.cmd" "$(ProjDir).."</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@ -95,8 +94,7 @@
<AdditionalDependencies>Rpcrt4.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PreBuildEvent>
<Command>
</Command>
<Command>"$(ProjDir)generate_code.cmd" "$(ProjDir).."</Command>
</PreBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>


+ 3
- 1
sync/gen_codec.ysl2 View File

@ -103,12 +103,14 @@ tstylesheet {
// This file is under GNU General Public License 3.0
// see LICENSE.txt
#include "platform.h"
#include "«yml:lcase(@name)»_codec.h"
#include "../asn.1/«@name».h"
#include "pEp_internal.h"
#include "growing_buf.h"
PEP_STATUS decode_«@name»_message(
DYNAMIC_API PEP_STATUS decode_«@name»_message(
const char *data,
size_t size,
«@name»_t **msg


Loading…
Cancel
Save