Files
DX12/Engine/Platform/IncludeWindowCpp.h
2026-03-19 18:27:49 +08:00

21 lines
586 B
C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* @file IncludeWindowCpp.h
* @brief 以单编译单元方式引入 Window.cpp 的桥接头。
* @details
* 某些构建路径通过宏控制将 Window.cpp 以内联包含方式编译。
* 该头文件负责:
* - 定义 INCLUDE_WINDOW_CPP 触发实现体暴露;
* - 包含 Window.cpp
* - 立即取消宏定义以避免污染后续编译单元。
*/
#pragma once
/**
* @brief 启用 Window.cpp 头内实现编译模式。
*/
#define INCLUDE_WINDOW_CPP 1
#include "Window.cpp"
/**
* @brief 关闭 Window.cpp 头内实现编译模式。
*/
#undef INCLUDE_WINDOW_CPP