Author | Jamozed <[email protected]> |
Date | 2021-09-03 16:13:36 |
Commit | e284c79ed25b048f90fbfdc35d05907241a0a93f |
Parent | 5a1a1c1737265d61ca898c1f5e2f50f2cfcfc1ff |
Update README and simplify CMakeLists
Diffstat
M | CMakeLists.txt | | | 6 | ++---- |
M | README.md | | | 19 | ++++++++++++------- |
2 files changed, 14 insertions, 11 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b2ffb3..1683268 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,8 +4,6 @@ PROJECT(ESH VERSION 0.5.0 LANGUAGES C) SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin) ADD_COMPILE_DEFINITIONS(PROJECT_VERSION="${PROJECT_VERSION}") -FILE(GLOB SOURCES ${CMAKE_SOURCE_DIR}/src/*) -FILE(GLOB LIBSRC ${CMAKE_SOURCE_DIR}/src/lib/*) -FILE(GLOB BLTNSRC ${CMAKE_SOURCE_DIR}/src/bltns/*) +FILE(GLOB SRC ${PROJECT_SOURCE_DIR}/src/*.c ${PROJECT_SOURCE_DIR}/src/**/*.c) -ADD_EXECUTABLE(esh ${SOURCES} ${LIBSRC} ${BLTNSRC}) +ADD_EXECUTABLE(esh ${SRC}) diff --git a/README.md b/README.md index 1f59766..61573c8 100644 --- a/README.md +++ b/README.md @@ -2,22 +2,27 @@ > Executive Shell -ESH is a modern shell with an emphasis on performance and usability. ESH is not -indended to be POSIX compliant, but may still exhibit POSIX-like behaviour. +**ESH** is a modern shell with an emphasis on performance and usability. It is +not indended to be POSIX compliant, but may still exhibit POSIX-like behaviour. -## Build Instructions +## Usage -ESH uses CMake to build. -Binaries will be located in the `bin` directory. +**ESH** is being developed on x86-64 Linux, and is dependent on POSIX. -### UNIX Build +### Dependencies -Run `BuildUNIX.sh`, or +- CMake >= 3.12, to build + +### Building + +> To build **ESH** on UNIX, run `BuildUNIX.sh` or ```sh cmake -S . -B build && cmake --build build ``` +Binaries will be located in the bin directory. + ## Meta Copyright (C) 2020, Jakob Wakeling