replaced imgui with cimgui shared lib to use with c# bindings
This commit is contained in:
22
dependencies/cimgui.config
vendored
Normal file
22
dependencies/cimgui.config
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
DEP_WORKING_DIR='dependencies/cimgui'
|
||||
DEP_PRE_BUILD_COMMAND=''
|
||||
if [[ "$TASK" = *_dbg ]]; then
|
||||
DEP_BUILD_COMMAND='cbuild -c ../cimgui.project.config build_shared_lib_dbg'
|
||||
else
|
||||
DEP_BUILD_COMMAND='cbuild -c ../cimgui.project.config build_shared_lib'
|
||||
fi
|
||||
DEP_POST_BUILD_COMMAND='rm -f cbuild.log'
|
||||
DEP_CLEAN_COMMAND='cbuild clean -c ../cimgui.project.config'
|
||||
DEP_STATIC_OUT_FILES=''
|
||||
case $OS in
|
||||
WINDOWS)
|
||||
DEP_DYNAMIC_OUT_FILES="../bin/cimgui.dll"
|
||||
;;
|
||||
LINUX)
|
||||
DEP_DYNAMIC_OUT_FILES="../bin/cimgui.so"
|
||||
;;
|
||||
*)
|
||||
error "operating system $OS has no configuration variants"
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user