Commit 3fb5cfde authored by captainwong's avatar captainwong

fix x64 build

parent 36f3409f
...@@ -81,6 +81,7 @@ ...@@ -81,6 +81,7 @@
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental> <LinkIncremental>true</LinkIncremental>
<TargetName>$(ProjectName)d</TargetName>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental> <LinkIncremental>false</LinkIncremental>
......
...@@ -3,11 +3,19 @@ ...@@ -3,11 +3,19 @@
#include <string.h> #include <string.h>
#include <assert.h> #include <assert.h>
#ifdef _WIN64
#ifdef _DEBUG
#pragma comment(lib, "../x64/Debug/ademco_hbd.lib")
#else
#pragma comment(lib, "../x64/Release/ademco_hb.lib")
#endif
#else // WIN32
#ifdef _DEBUG #ifdef _DEBUG
#pragma comment(lib, "../Debug/ademco_hbd.lib") #pragma comment(lib, "../Debug/ademco_hbd.lib")
#else #else
#pragma comment(lib, "../Release/ademco_hb.lib") #pragma comment(lib, "../Release/ademco_hb.lib")
#endif #endif
#endif
int main() int main()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment