Skip to content

Commit

Permalink
Add ktests to cmake & add note in README
Browse files Browse the repository at this point in the history
  • Loading branch information
sambles committed Sep 4, 2019
1 parent 387ccbf commit 9f81a38
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,8 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
add_definitions( /DUNICODE /D_UNICODE ) # it is a new millenium
endif()


add_test(ktest ./ktest/runtests.sh)
add_test(ktest-extended ./ktest/runtestsx.sh)

add_subdirectory(src)
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,20 @@ $ ./autogen.sh

Follow the rest of the process as described above.


### Cmake build - Experimental

Install Cmake from either system packages or [cmake.org](https://cmake.org/download/)

``` sh
$ cmake .
```

``` sh
$ cmake all test
```


## Windows Installation

### Pre-requisites
Expand Down
4 changes: 4 additions & 0 deletions ktest/runtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ installertest()

}

SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT")
cd $SCRIPTPATH

init
installertest
#fin
4 changes: 4 additions & 0 deletions ktest/runtestsx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,10 @@ installertest()

}

SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT")
cd $SCRIPTPATH

init
installertest
#fin
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
add_subdirectory(aalcalc)
add_subdirectory(aalcalctocsv)
add_subdirectory(cdftocsv)
add_subdirectory(coveragetobin)
add_subdirectory(coveragetocsv)
add_subdirectory(damagebintobin)
add_subdirectory(damagebintocsv)
Expand Down
1 change: 1 addition & 0 deletions src/validateitems/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Author: Ben Matharu email: [email protected]
#else
#include <unistd.h>
#include <signal.h>
#include <string.h>
#endif

#include "../include/oasis.h"
Expand Down

0 comments on commit 9f81a38

Please sign in to comment.