diff --git a/.github/workflows/iwyu.yml b/.github/workflows/iwyu.yml index 76727db68fb..d01a7000e03 100644 --- a/.github/workflows/iwyu.yml +++ b/.github/workflows/iwyu.yml @@ -98,6 +98,7 @@ jobs: - name: Prepare CMake run: | + # TODO: why does it build dmake in the next step? cmake -S . -B cmake.output -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DHAVE_RULES=On -DBUILD_TESTS=On -DBUILD_GUI=On -DUSE_QT6=On -DWITH_QCHART=On -DENABLE_CHECK_INTERNAL=On -DCMAKE_GLOBAL_AUTOGEN_TARGET=On -DCMAKE_DISABLE_PRECOMPILE_HEADERS=On -DCPPCHK_GLIBCXX_DEBUG=Off -DUSE_MATCHCOMPILER=Off -DEXTERNALS_AS_SYSTEM=On -DUSE_LIBCXX=${{ matrix.use_libcxx }} env: CC: clang @@ -188,6 +189,7 @@ jobs: - name: Prepare CMake run: | + # TODO: why does it build dmake in the next step? cmake -S . -B cmake.output -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DHAVE_RULES=On -DBUILD_TESTS=On -DBUILD_GUI=On -DUSE_QT6=On -DWITH_QCHART=On -DENABLE_CHECK_INTERNAL=On -DCMAKE_GLOBAL_AUTOGEN_TARGET=On -DCMAKE_DISABLE_PRECOMPILE_HEADERS=On -DCPPCHK_GLIBCXX_DEBUG=Off -DUSE_MATCHCOMPILER=Off -DEXTERNALS_AS_SYSTEM=On -DUSE_LIBCXX=${{ matrix.use_libcxx }} env: CC: clang-19 diff --git a/cppcheck.sln b/cppcheck.sln index 8ea1af26aa8..ca26e06f2bd 100644 --- a/cppcheck.sln +++ b/cppcheck.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29020.237 +# Visual Studio Version 17 +VisualStudioVersion = 17.12.35506.116 d17.12 MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cli", "cli\cli.vcxproj", "{35CBDF51-2456-3EC3-99ED-113C30858883}" ProjectSection(ProjectDependencies) = postProject @@ -15,8 +15,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testrunner", "test\testrunn EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cppcheck", "lib\cppcheck.vcxproj", "{C183DB5B-AD6C-423D-80CA-1F9549555A1A}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dmake", "tools\dmake\dmake.vcxproj", "{19EC86CD-0004-4917-B852-E6BD110B6E6F}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|x64 = Debug|x64 @@ -49,10 +47,6 @@ Global {C183DB5B-AD6C-423D-80CA-1F9549555A1A}.Release|x64.Build.0 = Release|x64 {C183DB5B-AD6C-423D-80CA-1F9549555A1A}.Release-PCRE|x64.ActiveCfg = Release-PCRE|x64 {C183DB5B-AD6C-423D-80CA-1F9549555A1A}.Release-PCRE|x64.Build.0 = Release-PCRE|x64 - {19EC86CD-0004-4917-B852-E6BD110B6E6F}.Debug|x64.ActiveCfg = Debug|x64 - {19EC86CD-0004-4917-B852-E6BD110B6E6F}.Debug-PCRE|x64.ActiveCfg = Debug|x64 - {19EC86CD-0004-4917-B852-E6BD110B6E6F}.Release|x64.ActiveCfg = Release|x64 - {19EC86CD-0004-4917-B852-E6BD110B6E6F}.Release-PCRE|x64.ActiveCfg = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/tools/dmake/CMakeLists.txt b/tools/dmake/CMakeLists.txt index 4f9ea9d7007..5af693eb179 100644 --- a/tools/dmake/CMakeLists.txt +++ b/tools/dmake/CMakeLists.txt @@ -1,5 +1,5 @@ # TODO: when using ccache and matchcompiler this will accessed before the file was generated and thus the build fails -set(srcs_lib pathmatch.cpp path.cpp) +set(srcs_lib pathmatch.cpp path.cpp utils.cpp) foreach(file ${srcs_lib}) if (NOT USE_MATCHCOMPILER_OPT STREQUAL "Off") set(src "${CMAKE_BINARY_DIR}/lib/build/mc_${file}") @@ -14,7 +14,6 @@ add_executable(dmake EXCLUDE_FROM_ALL dmake.cpp ${CMAKE_SOURCE_DIR}/cli/filelister.cpp ${srcs_tools} - ${CMAKE_SOURCE_DIR}/lib/utils.cpp $ ) target_include_directories(dmake PRIVATE ${CMAKE_SOURCE_DIR}/cli ${CMAKE_SOURCE_DIR}/lib) diff --git a/tools/dmake/dmake.vcxproj b/tools/dmake/dmake.vcxproj deleted file mode 100644 index b582ba44121..00000000000 --- a/tools/dmake/dmake.vcxproj +++ /dev/null @@ -1,113 +0,0 @@ - - - - - Debug - x64 - - - Release - x64 - - - - {19EC86CD-0004-4917-B852-E6BD110B6E6F} - dmake - 10.0 - - - - Application - v142 - NotSet - true - - - Application - v142 - NotSet - - - - - - - - - - - - - <_ProjectFileVersion>11.0.61030.0 - - - ..\Build\$(Configuration)\ - ..\BuildTmp\$(TargetName)\$(Configuration)\ - true - - - - ..\Build\$(Configuration)\ - ..\BuildTmp\$(TargetName)\$(Configuration)\ - false - - - - Disabled - ..\lib;..\externals\simplecpp;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;%(PreprocessorDefinitions) - true - Default - MultiThreadedDebugDLL - false - - $(IntDir) - Level4 - ProgramDatabase - - - shlwapi.lib;%(AdditionalDependencies) - $(OutDir)dmake.exe - true - Console - - - - - MaxSpeed - true - ..\lib;..\externals\simplecpp;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;%(PreprocessorDefinitions) - MultiThreadedDLL - true - - $(IntDir) - Level4 - ProgramDatabase - - - shlwapi.lib;%(AdditionalDependencies) - $(OutDir)dmake.exe - true - Console - true - true - - - - - - - - - - - - - - - - - - - \ No newline at end of file