cbuild v7
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "../../kerep/src/base/base.h"
|
||||
#include "../../dependencies/kerep/src/base/base.h"
|
||||
|
||||
Maybe main_window_open(const char* window_title);
|
||||
Maybe main_window_loop_start();
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include "gui.h"
|
||||
#include "SDL2/SDL.h"
|
||||
#include "SDL2/SDL_opengl.h"
|
||||
#include "../../imgui/imgui.h"
|
||||
#include "../../imgui/backends/imgui_impl_sdl2.h"
|
||||
#include "../../imgui/backends/imgui_impl_opengl3.h"
|
||||
#include "../../kerep/src/Filesystem/filesystem.h"
|
||||
#include "../../dependencies/SDL2/include/SDL.h"
|
||||
#include "../../dependencies/SDL2/include/SDL_opengl.h"
|
||||
#include "../../dependencies/imgui/imgui.h"
|
||||
#include "../../dependencies/imgui/backends/imgui_impl_sdl2.h"
|
||||
#include "../../dependencies/imgui/backends/imgui_impl_opengl3.h"
|
||||
#include "../../dependencies/kerep/src/Filesystem/filesystem.h"
|
||||
|
||||
//////////////////////////////////////
|
||||
// Fonts //
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "gui_internal.hpp"
|
||||
#include "../../imgui-node-editor/imgui_node_editor.h"
|
||||
#include "../../dependencies/imgui_node_editor/imgui_node_editor.h"
|
||||
namespace NE = ax::NodeEditor;
|
||||
|
||||
NE::EditorContext* editor_context=nullptr;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "gui_internal.hpp"
|
||||
#include "../../imnodes/imnodes.h"
|
||||
#include "../../dependencies/imnodes/imnodes.h"
|
||||
#include <vector>
|
||||
#include <algorithm>
|
||||
|
||||
|
||||
10
src/main.c
10
src/main.c
@@ -1,4 +1,4 @@
|
||||
#include "../kerep/src/base/base.h"
|
||||
#include "../dependencies/kerep/src/base/base.h"
|
||||
#include "gui/gui.h"
|
||||
|
||||
void kt_initGraphCTypes(){
|
||||
@@ -9,7 +9,7 @@ int main(const int argc, const char* const* argv){
|
||||
if(setlocale(LC_CTYPE, "C.UTF-8")!=0)
|
||||
kprintf("\e[93msetlocale failed!\n");
|
||||
|
||||
kt_beginInit();
|
||||
kt_beginInit(true);
|
||||
kt_initKerepTypes();
|
||||
kt_initGraphCTypes();
|
||||
kt_endInit();
|
||||
@@ -19,9 +19,9 @@ int main(const int argc, const char* const* argv){
|
||||
kprintf(" %s", argv[i]);
|
||||
kprintf("\n");
|
||||
|
||||
tryLast(main_window_open("GraphC"),_1);
|
||||
tryLast(main_window_loop_start(),_2);
|
||||
tryLast(main_window_close(),_3);
|
||||
tryLast(main_window_open("GraphC"),_1, ;);
|
||||
tryLast(main_window_loop_start(),_2, ;);
|
||||
tryLast(main_window_close(),_3, ;);
|
||||
|
||||
kt_free();
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user