Skip to content

Commit

Permalink
rename libcdi dll
Browse files Browse the repository at this point in the history
  • Loading branch information
a1ive committed Nov 1, 2023
1 parent a461f91 commit afe65d6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions libnw/libcdi.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ static struct
} m_cdi;

#ifdef _WIN64
#define LIBCDI_DLL L"libcdix64.dll"
#define LIBCDI_DLL L"libcdi.x64.dll"
#else
#define LIBCDI_DLL L"libcdi.dll"
#define LIBCDI_DLL L"libcdi.Win32.dll"
#endif

CDI_SMART* WINAPI cdi_create_smart(VOID)
Expand Down
6 changes: 2 additions & 4 deletions libnw/libnw.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@
</Lib>
<PostBuildEvent>
<Command>copy "$(ProjectDir)jep106.ids" "$(SolutionDir)$(Platform)\$(Configuration)\"
copy "$(SolutionDir)libcdi\libcdi.dll" "$(SolutionDir)$(Platform)\$(Configuration)\"
copy "$(SolutionDir)libcdi\libcdix64.dll" "$(SolutionDir)$(Platform)\$(Configuration)\"</Command>
copy "$(SolutionDir)libcdi\libcdi.$(Platform).dll" "$(SolutionDir)$(Platform)\$(Configuration)\"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
Expand Down Expand Up @@ -120,8 +119,7 @@ copy "$(SolutionDir)libcdi\libcdix64.dll" "$(SolutionDir)$(Platform)\$(Configura
</Lib>
<PostBuildEvent>
<Command>copy "$(ProjectDir)jep106.ids" "$(SolutionDir)$(Platform)\$(Configuration)\"
copy "$(SolutionDir)libcdi\libcdi.dll" "$(SolutionDir)$(Platform)\$(Configuration)\"
copy "$(SolutionDir)libcdi\libcdix64.dll" "$(SolutionDir)$(Platform)\$(Configuration)\"</Command>
copy "$(SolutionDir)libcdi\libcdi.$(Platform).dll" "$(SolutionDir)$(Platform)\$(Configuration)\"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
Expand Down

0 comments on commit afe65d6

Please sign in to comment.