36 lines
739 B
C++
36 lines
739 B
C++
#include "c.h"
|
|
#include "target.h"
|
|
#include "helper.h"
|
|
|
|
DECLARE_BUILD_STAGE(ini_test)
|
|
{
|
|
CProject_t p = {
|
|
.files = {
|
|
"../../tier0/lib.cpp",
|
|
"../../tier0/mem.cpp",
|
|
"../../tier0/platform.cpp",
|
|
"../../tier1/interface.cpp",
|
|
"../../tier1/utlbuffer.cpp",
|
|
"../../tier1/utlstring.cpp",
|
|
"../../tier1/utlvector.cpp",
|
|
"../../tier1/utlmap.cpp",
|
|
"../../tier1/commandline.cpp",
|
|
"../../tier2/fileformats/ini.cpp",
|
|
"../../tier2/filesystem.cpp",
|
|
"../../tier2/filesystem_libc.cpp",
|
|
"main.cpp",
|
|
},
|
|
.includeDirectories =
|
|
{
|
|
"../../public"
|
|
},
|
|
};
|
|
p.m_szName = "initest";
|
|
LinkProject_t l = ccompiler->Compile(&p);
|
|
CUtlString szPath = linker->Link(&l);
|
|
filesystem2->CopyFile("./", szPath);
|
|
|
|
|
|
return 0;
|
|
}
|