diff --git a/src/dirs b/src/dirs index eccb84a90..f81326139 100644 --- a/src/dirs +++ b/src/dirs @@ -1,4 +1,5 @@ DIRS=\ + staging \ buffer \ interactivity \ dep \ diff --git a/src/project.inc b/src/project.inc index 41fd0a480..8c3f92206 100644 --- a/src/project.inc +++ b/src/project.inc @@ -37,6 +37,8 @@ USER_C_FLAGS = $(USER_C_FLAGS) /utf-8 CONSOLE_SRC_PATH = $(PROJECT_ROOT)\core\console\open\src CONSOLE_OBJ_PATH = $(WINCORE_OBJ_PATH)\console\open\src +USER_C_FLAGS = $(USER_C_FLAGS) /FI$(CONSOLE_OBJ_PATH)\staging\$(O)\TilFeatureStaging.h + INCLUDES= \ $(INCLUDES); \ $(CONSOLE_SRC_PATH)\inc; \ diff --git a/src/staging/makefile.inc b/src/staging/makefile.inc new file mode 100644 index 000000000..cd46d2866 --- /dev/null +++ b/src/staging/makefile.inc @@ -0,0 +1,3 @@ +$(OBJ_PATH)\$(O)\TilFeatureStaging.h: ..\features.xml + set BUILDMSG=Building til::feature flag header... + powershell -NoLogo -NoProfile -NonInteractive -ExecutionPolicy ByPass -Command ..\..\tools\Generate-FeatureStagingHeader.ps1 "$**" -Branding WindowsInbox -Branch $(BUILDBRANCH) -OutputPath "$@" diff --git a/src/staging/sources b/src/staging/sources new file mode 100644 index 000000000..f0390360c --- /dev/null +++ b/src/staging/sources @@ -0,0 +1,7 @@ +_NEED_BUILDBRANCH=1 +TARGETTYPE=NOTARGET + +NTTARGETFILE0=\ + $(OBJ_PATH)\$(O)\TilFeatureStaging.h + +# See build rules in makefile.inc