From 7512b7ec495587062384b29b947882eec9f30815 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Mon, 9 Sep 2024 12:24:28 +0200 Subject: [PATCH] Build test-str-source on Windows. --- .github/workflows/check.yml | 1 + Makefile.am | 1 + win32/test-str-source.vcxproj | 146 ++++++++++++++++++++++++++++++++++ win32/tre.sln | 20 +++++ 4 files changed, 168 insertions(+) create mode 100644 win32/test-str-source.vcxproj diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index e7795db..324342b 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -71,6 +71,7 @@ jobs: - name: Run tests run: | win32/Debug/retest.exe -o tests/retest.log + win32/Debug/test-str-source.exe -o tests/test-str-source.log - name: Upload logs if: ${{ failure() }} uses: actions/upload-artifact@v4 diff --git a/Makefile.am b/Makefile.am index 40ea0b7..2f1d989 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,6 +15,7 @@ EXTRA_DIST = \ win32/tre.vcxproj \ win32/tre.sln \ win32/retest.vcxproj \ + win32/test-str-source.vcxproj \ python/tre-python.c \ python/setup.py \ python/example.py diff --git a/win32/test-str-source.vcxproj b/win32/test-str-source.vcxproj new file mode 100644 index 0000000..c547163 --- /dev/null +++ b/win32/test-str-source.vcxproj @@ -0,0 +1,146 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + 17.0 + {B2EF4770-CEFE-4583-94C0-F92130BA2AF6} + + + + Application + v143 + false + MultiByte + + + Application + v143 + false + MultiByte + + + + + + + + + + + + + + + <_ProjectFileVersion>17.0.35219.272 + + + .\Release\ + .\Release\ + false + + + .\Debug\ + .\Debug\ + true + + + + .\Release/test-str-source.tlb + + + + MaxSpeed + OnlyExplicitInline + ../lib;../win32;%(AdditionalIncludeDirectories) + NDEBUG;WIN32;_CONSOLE;HAVE_CONFIG_H;%(PreprocessorDefinitions) + true + MultiThreaded + true + .\Release/test-str-source.pch + .\Release/ + .\Release/ + .\Release/ + Level3 + true + + + NDEBUG;%(PreprocessorDefinitions) + 0x040b + + + Release/tre.lib;msvcprt.lib;%(AdditionalDependencies) + .\Release/test-str-source.exe + true + .\Release/test-str-source.pdb + Console + false + + MachineX86 + + + true + .\Release/test-str-source.bsc + + + + + .\Debug/test-str-source.tlb + + + + Disabled + ../lib;../win32;%(AdditionalIncludeDirectories) + _DEBUG;WIN32;_CONSOLE;HAVE_CONFIG_H;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebug + .\Debug/test-str-source.pch + .\Debug/ + .\Debug/ + .\Debug/ + Level3 + true + EditAndContinue + + + _DEBUG;%(PreprocessorDefinitions) + 0x040b + + + Debug/tre.lib;msvcprt.lib;%(AdditionalDependencies) + .\Debug/test-str-source.exe + true + true + .\Debug/test-str-source.pdb + Console + false + + MachineX86 + + + true + .\Debug/test-str-source.bsc + + + + + + + + {69258b5d-ecae-40e4-8f64-5f063b05c998} + false + + + + + + \ No newline at end of file diff --git a/win32/tre.sln b/win32/tre.sln index 1e8b4cf..c21c2bf 100644 --- a/win32/tre.sln +++ b/win32/tre.sln @@ -7,20 +7,40 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "retest", "retest.vcxproj", EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tre", "tre.vcxproj", "{69258B5D-ECAE-40E4-8F64-5F063B05C998}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test-str-source", "test-str-source.vcxproj", "{B2EF4770-CEFE-4583-94C0-F92130BA2AF6}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 Release|Win32 = Release|Win32 + Release|x64 = Release|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Debug|Win32.ActiveCfg = Debug|Win32 {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Debug|Win32.Build.0 = Debug|Win32 + {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Debug|x64.ActiveCfg = Debug|Win32 + {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Debug|x64.Build.0 = Debug|Win32 {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Release|Win32.ActiveCfg = Release|Win32 {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Release|Win32.Build.0 = Release|Win32 + {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Release|x64.ActiveCfg = Release|Win32 + {F9A3C846-B5B3-4A68-9F8D-A918942FFB29}.Release|x64.Build.0 = Release|Win32 {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Debug|Win32.ActiveCfg = Debug|Win32 {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Debug|Win32.Build.0 = Debug|Win32 + {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Debug|x64.ActiveCfg = Debug|Win32 + {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Debug|x64.Build.0 = Debug|Win32 {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Release|Win32.ActiveCfg = Release|Win32 {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Release|Win32.Build.0 = Release|Win32 + {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Release|x64.ActiveCfg = Release|Win32 + {69258B5D-ECAE-40E4-8F64-5F063B05C998}.Release|x64.Build.0 = Release|Win32 + {B2EF4770-CEFE-4583-94C0-F92130BA2AF6}.Debug|Win32.ActiveCfg = Debug|Win32 + {B2EF4770-CEFE-4583-94C0-F92130BA2AF6}.Debug|Win32.Build.0 = Debug|Win32 + {B2EF4770-CEFE-4583-94C0-F92130BA2AF6}.Debug|x64.ActiveCfg = Debug|x64 + {B2EF4770-CEFE-4583-94C0-F92130BA2AF6}.Debug|x64.Build.0 = Debug|x64 + {B2EF4770-CEFE-4583-94C0-F92130BA2AF6}.Release|Win32.ActiveCfg = Release|Win32 + {B2EF4770-CEFE-4583-94C0-F92130BA2AF6}.Release|Win32.Build.0 = Release|Win32 + {B2EF4770-CEFE-4583-94C0-F92130BA2AF6}.Release|x64.ActiveCfg = Release|x64 + {B2EF4770-CEFE-4583-94C0-F92130BA2AF6}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE