Skip to content

Commit

Permalink
Update MSC build environment
Browse files Browse the repository at this point in the history
Relates to [CANAPI-110]
  • Loading branch information
uv-software committed Aug 27, 2024
1 parent b1479e4 commit a7619ea
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Library/uvslcan.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@
<ClInclude Include="..\Sources\serial.h" />
<ClInclude Include="..\Sources\serial_attr.h" />
<ClInclude Include="..\Sources\slcan.h" />
<ClInclude Include="..\Sources\timer.h" />
<ClInclude Include=".\Sources\framework.h" />
<ClInclude Include=".\Sources\pch.h" />
<ClInclude Include=".\resource.h" />
Expand Down Expand Up @@ -331,6 +332,16 @@
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release_dll|x64'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release_lib|x64'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="..\Sources\timer_w.c">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release_dll|Win32'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release_lib|Win32'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug_dll|Win32'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug_lib|Win32'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release_dll|x64'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release_lib|x64'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug_dll|x64'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug_lib|x64'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include=".\Sources\dllmain.cpp" />
<ClCompile Include=".\Sources\pch.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug_dll|x64'">Create</PrecompiledHeader>
Expand Down
6 changes: 6 additions & 0 deletions Library/uvslcan.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
<ClInclude Include=".\resource.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\Sources\timer.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include=".\Sources\dllmain.cpp">
Expand All @@ -68,6 +71,9 @@
<ClCompile Include="..\Sources\slcan.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\Sources\timer_w.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="uvslcan.rc">
Expand Down
2 changes: 2 additions & 0 deletions Trial/slcan_test.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<ClCompile Include="..\Sources\queue_w.c" />
<ClCompile Include="..\Sources\serial_w.c" />
<ClCompile Include="..\Sources\slcan.c" />
<ClCompile Include="..\Sources\timer_w.c" />
<ClCompile Include="Sources\main.cpp" />
</ItemGroup>
<ItemGroup>
Expand All @@ -26,6 +27,7 @@
<ClInclude Include="..\Sources\serial.h" />
<ClInclude Include="..\Sources\serial_attr.h" />
<ClInclude Include="..\Sources\slcan.h" />
<ClInclude Include="..\Sources\timer.h" />
<ClInclude Include="Sources\debug.h" />
</ItemGroup>
<PropertyGroup Label="Globals">
Expand Down
6 changes: 6 additions & 0 deletions Trial/slcan_test.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
<ClCompile Include="..\Sources\slcan.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\Sources\timer_w.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\Sources\buffer.h">
Expand All @@ -59,5 +62,8 @@
<ClInclude Include="..\Sources\build_no.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\Sources\timer.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
</Project>
24 changes: 24 additions & 0 deletions xxl_build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
@echo off
rem set MSBuild environment variables
pushd
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat" x64
popd
set PWD="%~dp0"
pushd

rem build libraries, utilities and the trial program
call .\x64_build.bat NOVARS
if not errorlevel 0 goto end
call .\x86_build.bat NOVARS
if not errorlevel 0 goto end

rem rem build test suites
rem cd /D .\Tests
rem call .\x64_build.bat NOVARS NORUN
rem if not errorlevel 0 goto end
rem call .\x86_build.bat NOVARS NORUN
rem if not errorlevel 0 goto end

rem end of the job
:end
popd

0 comments on commit a7619ea

Please sign in to comment.