Porting to linux
This commit is contained in:
@@ -147,7 +147,7 @@ int CompileTextEditorLinux() {
|
||||
For2(lib, libs) For(lib.include_paths) cmd.add(Fmt("-I %.*s", S8_Expand(it)));
|
||||
For2(lib, libs) For(lib.defines) cmd.add(it);
|
||||
// cmd.add("-L../src/external/SDL/build/");
|
||||
cmd.add("-I../src/external/SDL/build/include");
|
||||
cmd.add("-I../src/external/SDL/include");
|
||||
cmd.add("-lm");
|
||||
cmd.add("../src/external/SDL/build/libSDL3.a");
|
||||
For2(lib, libs) For(lib.link) cmd.add(it);
|
||||
@@ -294,7 +294,7 @@ void GenerateConfig() {
|
||||
style.add({"IndentSize", "4"});
|
||||
style.add({"FontSize", "15"});
|
||||
style.add({"FontFilter", "0"}); // nearest = 0, linear = 1 - seems like nearest always better?
|
||||
style.add({"Font", "C:/Windows/Fonts/consola.ttf"});
|
||||
style.add({"Font", "/home/krz/text_editor/package/CascadiaMono.ttf"});
|
||||
style.add({"VCVarsall", "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/Build/vcvars64.bat"});
|
||||
|
||||
{
|
||||
@@ -400,4 +400,4 @@ int main() {
|
||||
|
||||
SRC_SaveCache();
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user