Replies: 3 comments 2 replies
-
It looks like you should be able to straight away build a WinUI 3 app unpackaged, using MSIX Dynamic Dependencies as microsoft/windows-app-rs does. I suppose the next issue is compiling XAML files. |
Beta Was this translation helpful? Give feedback.
2 replies
-
@galexite You can very much build a WinUI app via the command line only, but you’ll need to write a good chunk of support code.
Enjoy! (updated 2021-01-07) |
Beta Was this translation helpful? Give feedback.
0 replies
-
See Build C++ WinUI 3 Apps with Command Line Tools or MinGW WinUI 3 Demo |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there! 👋
I really like the new Windows App SDK and the associated WinUI 3, and C++/WinRT projects, and I've been toying with a few apps using the libraries. However, one thing I'm not so clear about, is how I can build a Windows App SDK project without using Visual Studio.
I'm not opposed to using Visual Studio per se, but I'd like to bring over the tools and workflow I'm already familiar with on Mac and Linux, which is also available to Win32 apps -- CMake, Visual Studio Code, CLion and the like. If I were building an app, I'd also like to be able to maintain a single, consistent build system for apps and libraries which share cross-platform business logic.
I'd like to create a small CMake module or starter project which abstracts away most of the boilerplate required to build a WinUI 3 app using just CMake. I realise that most of the work is done when generating a Visual Studio project, but is it possible to use just only command-line tools? This way, a CMake project can be built upon custom targets, therefore allowing the user to choose another build system, such as a Makefile, or Ninja.
Many thanks,
George
Beta Was this translation helpful? Give feedback.
All reactions