started working on ini parser
This commit is contained in:
35
tests/ini/build.cpp
Normal file
35
tests/ini/build.cpp
Normal file
@@ -0,0 +1,35 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user