Skip to content

Commit

Permalink
Use better project macro.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpallant committed Nov 19, 2024
1 parent 660a1e8 commit 4cc3837
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>$(ProjectPath)\..\..\target\debug\ffi_use_rust_in_c.lib;kernel32.lib;advapi32.lib;ntdll.lib;userenv.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>$(ProjectDir)\..\target\debug\ffi_use_rust_in_c.lib;kernel32.lib;advapi32.lib;ntdll.lib;userenv.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
</Link>
<PreBuildEvent>
<Command>cd $(ProjectPath)\..
<Command>cd $(ProjectDir)\..
cargo build
</Command>
</PreBuildEvent>
Expand All @@ -134,7 +134,7 @@ cargo build
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>$(ProjectPath)\..\..\target\release\ffi_use_rust_in_c.lib;kernel32.lib;advapi32.lib;ntdll.lib;userenv.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>$(ProjectDir)\..\target\release\ffi_use_rust_in_c.lib;kernel32.lib;advapi32.lib;ntdll.lib;userenv.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
</Link>
<PreBuildEvent>
Expand Down

0 comments on commit 4cc3837

Please sign in to comment.