Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
**/CMakeCache.txt
**/CMakeFiles
**/Makefile
**/cmake_install.cmake
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
CMAKE_MINIMUM_REQUIRED (VERSION 2.6)
PROJECT (Gobo)

IF (NOT DEFINED ENV{GOBO})
MESSAGE(FATAL_ERROR "GOBO environment variable undefined")
ENDIF()

ADD_SUBDIRECTORY(work/bootstrap bin)
17 changes: 17 additions & 0 deletions work/bootstrap/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FILE(GLOB GEC gec*.c)
ADD_EXECUTABLE(gec ${GEC})

FILE(GLOB GEANT geant*.c)
ADD_EXECUTABLE(geant ${GEANT})

FILE(GLOB GELEX gelex*.c)
ADD_EXECUTABLE(gelex ${GELEX})

FILE(GLOB GEXACE gexace*.c)
ADD_EXECUTABLE(gexace ${GEXACE})

FILE(GLOB GEPP gepp*.c)
ADD_EXECUTABLE(gepp ${GEPP})

FILE(GLOB GEYACC geyacc*.c)
ADD_EXECUTABLE(geyacc ${GEYACC})
10 changes: 6 additions & 4 deletions work/bootstrap/Readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ The procedure is quite simple:
. Make sure that your Eiffel and C compilers are in your $PATH.
. Depending on your platform, run either:

Under Windows:
bootstrap.bat [-v] <c_compiler> <eiffel_compiler>

or:

or under Unix:
bootstrap.sh [-v] <c_compiler> <eiffel_compiler>

or with CMake builder toolchain (from gobo root directory):
cmake -G <generator> -DCMAKE_BUILD_TYPE=RELEASE
make (depending of selected generator)

To find out about the already supported values for
<c_compiler> and <eiffel_compiler>, run the same command
but with the option '-help'. The optional command-line
Expand Down