From 125a6b850703b06cdfc5d64324414b0c7dc2a697 Mon Sep 17 00:00:00 2001 From: Akash Munagala Date: Tue, 18 Jan 2022 20:06:46 -0600 Subject: [PATCH] Add buildfile for Visual Studio generator --- colcon_cmake/task/cmake/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/colcon_cmake/task/cmake/__init__.py b/colcon_cmake/task/cmake/__init__.py index 35eb0af..7fdaf32 100644 --- a/colcon_cmake/task/cmake/__init__.py +++ b/colcon_cmake/task/cmake/__init__.py @@ -111,6 +111,8 @@ def get_buildfile(cmake_cache): str(cmake_cache.parent), 'CMAKE_GENERATOR') if 'Ninja' in generator: return cmake_cache.parent / 'build.ninja' + if 'Visual Studio' in generator: + return cmake_cache.parent / 'ALL_BUILD.vcxproj' return cmake_cache.parent / 'Makefile'