terminal/src/project.inc
Dustin L. Howett (MSFT) 86685079ec
build: move oss required to build conhost out of dep/ (#5451)
This change is necessary as the dep/ folder is not synced into the
Windows source tree.

I've also added a build rule producing a lib for {fmt}.

This will be required for our next OS ingestion.
2020-04-21 14:43:09 -07:00

57 lines
1.8 KiB
PHP

# -------------------------------------
# Windows Console
# - Common Project Configuration
# -------------------------------------
# -------------------------------------
# Preprocessor Settings
# -------------------------------------
UNICODE = 1
C_DEFINES = $(C_DEFINES) -DUNICODE -D_UNICODE
# -------------------------------------
# CRT Configuration
# -------------------------------------
USE_UNICRT = 1
USE_MSVCRT = 1
USE_STL = 1
STL_VER = STL_VER_CURRENT
USE_NATIVE_EH = 1
# -------------------------------------
# Compiler Settings
# -------------------------------------
MSC_WARNING_LEVEL = /W4 /WX
# -------------------------------------
# Common Console Includes and Libraries
# -------------------------------------
CONSOLE_SRC_PATH = $(PROJECT_ROOT)\core\console\open\src
CONSOLE_OBJ_PATH = $(WINCORE_OBJ_PATH)\console\open\src
INCLUDES= \
$(INCLUDES); \
$(CONSOLE_SRC_PATH)\inc; \
$(CONSOLE_SRC_PATH)\..\..\inc; \
$(CONSOLE_SRC_PATH)\..\oss\dynamic_bitset; \
$(CONSOLE_SRC_PATH)\..\oss\libpopcnt; \
$(CONSOLE_SRC_PATH)\..\oss\chromium; \
$(CONSOLE_SRC_PATH)\..\oss\fmt\include; \
$(MINWIN_INTERNAL_PRIV_SDK_INC_PATH_L); \
$(MINWIN_RESTRICTED_PRIV_SDK_INC_PATH_L); \
$(MINCORE_INTERNAL_PRIV_SDK_INC_PATH_L); \
$(ONECORE_INTERNAL_SDK_INC_PATH); \
$(ONECORE_EXTERNAL_SDK_INC_PATH); \
# -------------------------------------
# Linker Settings
# -------------------------------------
# Add the ConsoleTypes.natvis to our binaries, so the PDB's will have the info
# embedded by default
LINKER_FLAGS = $(LINKER_FLAGS) /natvis:$(CONSOLE_SRC_PATH)\..\tools\ConsoleTypes.natvis