networking
This commit is contained in:
32
fgui/__build.cpp
Normal file
32
fgui/__build.cpp
Normal file
@@ -0,0 +1,32 @@
|
||||
#include "helper.h"
|
||||
#include "c.h"
|
||||
#include "ld.h"
|
||||
#include "tier1/utlstring.h"
|
||||
#include "tier1/commandline.h"
|
||||
|
||||
CUtlVector<CUtlString> fgui_CompiledFiles = {
|
||||
"fgui/fgui.cpp",
|
||||
"fgui/widget.cpp",
|
||||
"fgui/rectangle.cpp",
|
||||
"fgui/label.cpp",
|
||||
};
|
||||
CUtlString fgui_lib;
|
||||
|
||||
int fgui_build()
|
||||
{
|
||||
CCProject compileProject = {};
|
||||
CLDProject ldProject = {};
|
||||
|
||||
compileProject.m_szName = "fgui";
|
||||
compileProject.files = fgui_CompiledFiles;
|
||||
compileProject.includeDirectories = all_IncludeDirectories;
|
||||
compileProject.bFPIC = true;
|
||||
ldProject = compileProject.Compile();
|
||||
ldProject.linkType = ELINK_STATIC_LIBRARY;
|
||||
|
||||
CUtlString outputProject = ldProject.Link();
|
||||
fgui_lib = outputProject;
|
||||
|
||||
return 0;
|
||||
};
|
||||
DECLARE_BUILD_STAGE(fgui, fgui_build);
|
||||
Reference in New Issue
Block a user