From 8ba86a5b1bc410f7cb9ee0e792fb72e7f23bc7bf Mon Sep 17 00:00:00 2001 From: hyzboy Date: Wed, 19 Mar 2025 01:31:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0AutoSCL.cpp=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=EF=BC=8C=E9=99=A4=E5=B1=95=E7=A4=BASourceCod?= =?UTF-8?q?eLocation=E5=A4=96=EF=BC=8C=E4=B9=9F=E6=BC=94=E7=A4=BA=E4=BA=86?= =?UTF-8?q?=5F=5FVA=5FOPT=5F=5F=E4=B8=8E=5F=5FVA=5FARGS=5F=5F=E7=BB=84?= =?UTF-8?q?=E5=90=88=E4=BD=BF=E7=94=A8.=20=E6=98=AFNewObject/NewComponent?= =?UTF-8?q?=E7=AD=89=E5=AE=8F=E7=9A=84=E9=87=8D=E8=A6=81=E5=9F=BA=E7=A1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 1 + debug/AutoSCL.cpp | 49 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 debug/AutoSCL.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index d9131eb..729ce5c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -27,6 +27,7 @@ endmacro() #################################################################################################### cm_example_project("Debug" DebugObject debug/DebugObject.cpp) +cm_example_project("Debug" AutoSCL debug/AutoSCL.cpp) #################################################################################################### cm_example_project("DataType/RAM" RuntimeAssetManagerTest datatype/ram/RuntimeAssetManagerTest.cpp diff --git a/debug/AutoSCL.cpp b/debug/AutoSCL.cpp new file mode 100644 index 0000000..c8245ed --- /dev/null +++ b/debug/AutoSCL.cpp @@ -0,0 +1,49 @@ +#include +#include +#include + +using namespace std; +using namespace hgl; + +void out(const string &name,const SourceCodeLocation &scl) +{ + cout<out(); + + return 0; +} \ No newline at end of file