removed imnodes
This commit is contained in:
parent
2e1fcb9536
commit
b336027743
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -2,9 +2,6 @@
|
|||||||
path = dependencies/imgui
|
path = dependencies/imgui
|
||||||
url = https://github.com/ocornut/imgui.git
|
url = https://github.com/ocornut/imgui.git
|
||||||
branch = docking
|
branch = docking
|
||||||
[submodule "dependencies/imnodes"]
|
|
||||||
path = dependencies/imnodes
|
|
||||||
url = https://github.com/Nelarius/imnodes.git
|
|
||||||
[submodule "dependencies/resource_embedder"]
|
[submodule "dependencies/resource_embedder"]
|
||||||
path = dependencies/resource_embedder
|
path = dependencies/resource_embedder
|
||||||
url = https://timerix.ddns.net:3322/Timerix/resource_embedder.git
|
url = https://timerix.ddns.net:3322/Timerix/resource_embedder.git
|
||||||
|
|||||||
1
dependencies/imnodes
vendored
1
dependencies/imnodes
vendored
@ -1 +0,0 @@
|
|||||||
Subproject commit 8563e1655bd9bb1f249e6552cc6274d506ee788b
|
|
||||||
12
dependencies/imnodes.config
vendored
12
dependencies/imnodes.config
vendored
@ -1,12 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
DEP_WORKING_DIR='dependencies/imnodes'
|
|
||||||
DEP_PRE_BUILD_COMMAND=''
|
|
||||||
if [[ "$TASK" = *_dbg ]]; then
|
|
||||||
DEP_BUILD_COMMAND='cbuild -c ../imnodes.project.config build_static_lib_dbg'
|
|
||||||
else
|
|
||||||
DEP_BUILD_COMMAND='cbuild -c ../imnodes.project.config build_static_lib'
|
|
||||||
fi
|
|
||||||
DEP_POST_BUILD_COMMAND=''
|
|
||||||
DEP_CLEAN_COMMAND='cbuild clean -c ../imnodes.project.config'
|
|
||||||
DEP_STATIC_OUT_FILES='../bin/libimnodes.a'
|
|
||||||
DEP_DYNAMIC_OUT_FILES=''
|
|
||||||
95
dependencies/imnodes.project.config
vendored
95
dependencies/imnodes.project.config
vendored
@ -1,95 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
CBUILD_VERSION=2.1.2
|
|
||||||
CONFIG_VERSION=1
|
|
||||||
|
|
||||||
PROJECT="imnodes"
|
|
||||||
CMP_C="gcc"
|
|
||||||
CMP_CPP="g++"
|
|
||||||
STD_C="c11"
|
|
||||||
STD_CPP="c++11"
|
|
||||||
WARN_C="-Wall -Wno-discarded-qualifiers -Wno-unused-parameter"
|
|
||||||
WARN_CPP="-Wall -Wno-unused-parameter"
|
|
||||||
SRC_C=""
|
|
||||||
SRC_CPP="imnodes.cpp"
|
|
||||||
|
|
||||||
# Directory with dependency configs.
|
|
||||||
# See cbuild/example_dependency_configs
|
|
||||||
DEPENDENCY_CONFIGS_DIR='dependencies'
|
|
||||||
# List of dependency config files in DEPENDENCY_CONFIGS_DIR separated by space.
|
|
||||||
ENABLED_DEPENDENCIES=''
|
|
||||||
|
|
||||||
# OBJDIR structure:
|
|
||||||
# ├── objects/ - Compiled object files. Cleans on each call of build task
|
|
||||||
# ├── static_libs/ - Symbolic links to static libraries used by linker. Cleans on each call of build task.
|
|
||||||
# ├── static_libs/ - Symbolic links to dynamic libraries used by linker. Cleans on each call of build task.
|
|
||||||
# └── profile/ - gcc *.gcda profiling info files
|
|
||||||
OBJDIR="../obj"
|
|
||||||
OUTDIR="../bin"
|
|
||||||
STATIC_LIB_FILE="lib$PROJECT.a"
|
|
||||||
|
|
||||||
# header include directories
|
|
||||||
INCLUDE="-I. -I../imgui -I../imgui/backends"
|
|
||||||
|
|
||||||
# OS-specific options
|
|
||||||
case "$OS" in
|
|
||||||
WINDOWS)
|
|
||||||
EXEC_FILE="$PROJECT.exe"
|
|
||||||
SHARED_LIB_FILE="lib$PROJECT.dll"
|
|
||||||
;;
|
|
||||||
LINUX)
|
|
||||||
EXEC_FILE="$PROJECT"
|
|
||||||
SHARED_LIB_FILE="lib$PROJECT.so"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
error "operating system $OS has no configuration variants"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# TASKS
|
|
||||||
case "$TASK" in
|
|
||||||
# creates shared library
|
|
||||||
build_shared_lib)
|
|
||||||
C_ARGS="-O2 -fpic -flto -shared"
|
|
||||||
CPP_ARGS="$C_ARGS"
|
|
||||||
LINKER_ARGS="$CPP_ARGS -Wl,-soname,$SHARED_LIB_FILE"
|
|
||||||
PRE_TASK_SCRIPT=
|
|
||||||
TASK_SCRIPT=cbuild/default_tasks/build_shared_lib.sh
|
|
||||||
POST_TASK_SCRIPT=
|
|
||||||
;;
|
|
||||||
# creates shared library with debug symbols and no optimizations
|
|
||||||
build_shared_lib_dbg)
|
|
||||||
C_ARGS="-O0 -g3 -fpic -shared"
|
|
||||||
CPP_ARGS="$C_ARGS"
|
|
||||||
LINKER_ARGS="$CPP_ARGS -Wl,-soname,$SHARED_LIB_FILE"
|
|
||||||
PRE_TASK_SCRIPT=
|
|
||||||
TASK_SCRIPT=cbuild/default_tasks/build_shared_lib.sh
|
|
||||||
POST_TASK_SCRIPT=
|
|
||||||
;;
|
|
||||||
# creates static library
|
|
||||||
build_static_lib)
|
|
||||||
C_ARGS="-O2"
|
|
||||||
CPP_ARGS="$C_ARGS"
|
|
||||||
PRE_TASK_SCRIPT=
|
|
||||||
TASK_SCRIPT=cbuild/default_tasks/build_static_lib.sh
|
|
||||||
POST_TASK_SCRIPT=
|
|
||||||
;;
|
|
||||||
# creates static library with debug symbols and no optimizations
|
|
||||||
build_static_lib_dbg)
|
|
||||||
C_ARGS="-O0 -g3"
|
|
||||||
CPP_ARGS="$C_ARGS"
|
|
||||||
PRE_TASK_SCRIPT=
|
|
||||||
TASK_SCRIPT=cbuild/default_tasks/build_static_lib.sh
|
|
||||||
POST_TASK_SCRIPT=
|
|
||||||
;;
|
|
||||||
# deletes generated files
|
|
||||||
clean)
|
|
||||||
TASK_SCRIPT=cbuild/default_tasks/clean.sh
|
|
||||||
;;
|
|
||||||
# nothing to do
|
|
||||||
"" | no_task)
|
|
||||||
;;
|
|
||||||
# unknown task
|
|
||||||
*)
|
|
||||||
error "task <$TASK> not found"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
@ -16,7 +16,7 @@ SRC_CPP="$(find src -name '*.cpp')"
|
|||||||
# See cbuild/example_dependency_configs
|
# See cbuild/example_dependency_configs
|
||||||
DEPENDENCY_CONFIGS_DIR='dependencies'
|
DEPENDENCY_CONFIGS_DIR='dependencies'
|
||||||
# List of dependency config files in DEPENDENCY_CONFIGS_DIR separated by space.
|
# List of dependency config files in DEPENDENCY_CONFIGS_DIR separated by space.
|
||||||
ENABLED_DEPENDENCIES='imnodes imgui precompiled'
|
ENABLED_DEPENDENCIES='imgui precompiled'
|
||||||
|
|
||||||
# OBJDIR structure:
|
# OBJDIR structure:
|
||||||
# ├── objects/ - Compiled object files. Cleans on each call of build task
|
# ├── objects/ - Compiled object files. Cleans on each call of build task
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user