From 6957939604336aecfa20c63ee68fc2fc61e446c0 Mon Sep 17 00:00:00 2001 From: stijn Date: Wed, 16 Aug 2017 10:32:47 +0200 Subject: [PATCH] windows/msvc: Change the way sources are listed. Reserve sources.props for listing just the MicroPython core and extmod files, similar to how py.mk lists port-independent source files. This allows reusing the source list, for instance for building mpy-cross. The sources for building the executable itself are listed in the corresponding project file, similar to how the other ports specify the source files in their Makefile. --- ports/windows/micropython.vcxproj | 22 ++++++++++++-- ports/windows/msvc/sources.props | 48 ++++++++++++------------------- 2 files changed, 38 insertions(+), 32 deletions(-) diff --git a/ports/windows/micropython.vcxproj b/ports/windows/micropython.vcxproj index e468cfdae..3a72a58fd 100644 --- a/ports/windows/micropython.vcxproj +++ b/ports/windows/micropython.vcxproj @@ -81,9 +81,27 @@ - - + + + + + + + + + + + + + + + + + + + + diff --git a/ports/windows/msvc/sources.props b/ports/windows/msvc/sources.props index 5c2076f1e..32a4cb18d 100644 --- a/ports/windows/msvc/sources.props +++ b/ports/windows/msvc/sources.props @@ -2,37 +2,25 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - + +