Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'OMEdit/' from commit '21f82a33bf74193b96a90a473999778440c87380'
- Loading branch information
Showing
527 changed files
with
212,151 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
*.c text eol=lf | ||
*.cpp text eol=lf | ||
*.h text eol=lf | ||
*.m4 text eol=lf | ||
.gitattributes text eol=lf | ||
.gitignore text eol=lf | ||
*.md text eol=lf | ||
LICENSE text eol=lf | ||
configure.ac text eol=lf | ||
Makefile* text eol=lf | ||
*.pro text eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
*.a | ||
*.config | ||
*.dll | ||
*.exe | ||
*.lib | ||
*.o | ||
*.qm | ||
*.so | ||
/autom4te.cache/ | ||
/build/ | ||
/config.guess | ||
/config.log | ||
/config.status | ||
/config.sub | ||
/configure | ||
/install-sh | ||
/Makefile | ||
/OMEdit*/bin/ | ||
/OMEdit*/build/release/ | ||
/OMEdit/generatedfiles/ | ||
/OMEdit/OMEditGUI/.qmake.stash | ||
/OMEdit/OMEditGUI/Debugger/Parser/GDBMIOutput.tokens | ||
/OMEdit/OMEditGUI/Debugger/Parser/GDBMIOutputLexer.c | ||
/OMEdit/OMEditGUI/Debugger/Parser/GDBMIOutputLexer.h | ||
/OMEdit/OMEditGUI/Debugger/Parser/GDBMIOutputParser.c | ||
/OMEdit/OMEditGUI/Debugger/Parser/GDBMIOutputParser.h | ||
/OMEdit/OMEditGUI/Debugger/Parser/libGDBMIParser.a | ||
/OMEdit/OMEditGUI/Debugger/Parser/Makefile.lib.unix | ||
/OMEdit/OMEditGUI/Makefile | ||
/OMEdit/OMEditGUI/Makefile.Debug | ||
/OMEdit/OMEditGUI/Makefile.Release | ||
/OMEdit/OMEditGUI/object_script.* | ||
/OMEdit/OMEditGUI/omc_config.h | ||
/OMEdit/OMEditGUI/OMC/Parser/OMCOutput.tokens | ||
/OMEdit/OMEditGUI/OMC/Parser/OMCOutputLexer.c | ||
/OMEdit/OMEditGUI/OMC/Parser/OMCOutputLexer.cpp | ||
/OMEdit/OMEditGUI/OMC/Parser/OMCOutputLexer.h | ||
/OMEdit/OMEditGUI/OMC/Parser/OMCOutputParser.c | ||
/OMEdit/OMEditGUI/OMC/Parser/OMCOutputParser.cpp | ||
/OMEdit/OMEditGUI/OMC/Parser/OMCOutputParser.h | ||
/OMEdit/OMEditGUI/OMEditGUI.pro.* | ||
/OMEdit/OMEditGUI/version.h | ||
/qjson-0.8.1/build/ | ||
/qmake.sh | ||
Makefile.unix | ||
qm.stamp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "common"] | ||
path = common | ||
url = ../OpenModelica-common.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
all: omedit | ||
|
||
prefix = @prefix@ | ||
exec_prefix = @exec_prefix@ | ||
bindir = @bindir@ | ||
CMAKE=CC="@CC@" CXX="@CXX@" CFLAGS="@CFLAGS@" CPPFLAGS="@CPPFLAGS@" cmake | ||
CMAKE_TARGET = "Unix Makefiles" | ||
|
||
ifeq (@APP@,) | ||
install: | ||
mkdir -p ${DESTDIR}/@bindir@ | ||
cp -a build/bin/OMEdit@EXE@ ${DESTDIR}/@bindir@ | ||
else | ||
install: | ||
mkdir -p ${DESTDIR}/Applications/ | ||
cp -a build/Applications/OMEdit@APP@ ${DESTDIR}/Applications/ | ||
endif | ||
mkdir -p ${DESTDIR}/lib/@host_short@/omc/ ${DESTDIR}/share/omedit/nls/ | ||
cp -a build/lib/@host_short@/omc/* ${DESTDIR}/lib/@host_short@/omc/ | ||
cp -a build/share/omedit/nls/* ${DESTDIR}/share/omedit/nls/ | ||
|
||
mkbuilddirs: | ||
mkdir -p build/bin @OMBUILDDIR@/share/omedit/nls @OMBUILDDIR@/lib/@host_short@/omc | ||
omedit: mkbuilddirs qjson-build | ||
$(MAKE) -C OMEdit/OMEditGUI -f Makefile.unix | ||
clean: | ||
$(MAKE) -C OMEdit/OMEditGUI -f Makefile.unix clean | ||
test ! -f qjson/build/Makefile || $(MAKE) -C qjson/build clean | ||
rm -rf qjson/build | ||
distclean: clean | ||
rm -f config.status configure Makefile OMEdit/OMEditGUI/Makefile.unix OMEdit/OMEditGUI/OMEdit.config | ||
Makefile: Makefile.in config.status | ||
./config.status | ||
config.status: configure | ||
./config.status -recheck | ||
configure: configure.ac common/m4/corba.m4 common/m4/omhome.m4 common/m4/qmake.m4 | ||
autoconf | ||
|
||
qjson-build: | ||
test -d qjson | ||
mkdir -p qjson/build/include/qjson | ||
(cd qjson/build && test -f Makefile || CC="@CC@" CXX="@CXX@" CFLAGS="@CFLAGS@" CPPFLAGS="@CPPFLAGS@" CXXFLAGS="@CXXFLAGS@" $(CMAKE) .. @QT4BUILD@ -G $(CMAKE_TARGET)) | ||
test -f qjson/build/lib/libqjson$(SHREXT) || $(MAKE) -C qjson/build | ||
test ! `uname` = Darwin || install_name_tool -id @rpath/libqjson.0.dylib qjson/build/lib/libqjson.0.dylib | ||
cp -a qjson/build/lib/libqjson*$(SHREXT)* @OMBUILDDIR@/lib/@host_short@/omc/ | ||
cp -a qjson/src/*.h qjson/build/include/qjson |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
ifeq ($(OMBUILDDIR),) | ||
$(error OMBUILDDIR variable is not set.) | ||
endif | ||
|
||
buildbin=$(OMBUILDDIR)/bin | ||
buildlib=$(OMBUILDDIR)/lib/omc | ||
|
||
OMDEVMSYS=$(shell cygpath $$OMDEV) | ||
|
||
all: omedit | ||
|
||
CC = gcc | ||
CXX = g++ | ||
|
||
ifeq (gcc,$(findstring gcc,$(CC))) | ||
override CFLAGS +=-falign-functions -fstack-protector-all | ||
endif | ||
AR = ar | ||
CMAKE = $(OMDEVMSYS)/bin/cmake/bin/cmake | ||
CMAKE_TARGET = "MSYS Makefiles" | ||
SHREXT=.dll | ||
|
||
mkbuilddirs: | ||
mkdir -p $(OMBUILDDIR)/share/omedit/nls | ||
mkdir -p $(buildlib) | ||
mkdir -p $(buildbin) | ||
|
||
omedit: mkbuilddirs qjson-build | ||
$(MAKE) -C OMEdit/OMEditGUI -f Makefile.omdev.mingw | ||
cp -puf common/pre-commit.sh $(shell git rev-parse --git-dir)/hooks/pre-commit | ||
|
||
clean: | ||
cd qjson && rm -rf build | ||
$(MAKE) -C OMEdit/OMEditGUI -f Makefile.omdev.mingw clean | ||
|
||
qjson-build: | ||
test -d qjson | ||
mkdir -p qjson/build/include/qjson | ||
(cd qjson/build && test -f Makefile || CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" $(CMAKE) -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -D CMAKE_AR:String="$(AR)" .. -DQT4_BUILD:Boolean=OFF -G $(CMAKE_TARGET) -DCMAKE_INSTALL_PREFIX:PATH=`pwd`) | ||
test -f qjson/build/lib/libqjson$(SHREXT) || $(MAKE) -C qjson/build install | ||
cp -a qjson/build/lib/libqjson*$(SHREXT)* $(OMBUILDDIR)/lib/omc/ | ||
cp -a qjson/build/bin/libqjson*$(SHREXT)* $(OMBUILDDIR)/lib/omc/ | ||
cp -a qjson/build/lib/libqjson*$(SHREXT)* $(OMBUILDDIR)/bin/ | ||
cp -a qjson/build/bin/libqjson*$(SHREXT)* $(OMBUILDDIR)/bin/ | ||
cp -a qjson/src/*.h qjson/build/include/qjson |
Oops, something went wrong.