-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
46 additions
and
14,729 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 |
---|---|---|
@@ -1 +1,6 @@ | ||
asgn1 | ||
build | ||
CMakeFiles | ||
|
||
cmake_install.cmake | ||
CMakeCache.txt | ||
Makefile |
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 "external/Catch2"] | ||
path = external/Catch2 | ||
url = https://github.com/catchorg/Catch2 |
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,9 @@ | ||
cmake_minimum_required(VERSION 3.10.2) | ||
|
||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) | ||
|
||
include_directories(includes) | ||
add_subdirectory(external/Catch2) | ||
|
||
add_executable(asgn1 src/asgn1/main.cpp) | ||
target_link_libraries(asgn1 Catch2) |
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,21 @@ | ||
# CSE 3150 Testing | ||
|
||
## Compiling | ||
|
||
This project uses `cmake` to manage dependencies. Compiling the assignment testing binaries involves running a few commands. This produces an "out of source" build. | ||
|
||
```sh | ||
$ mkdir build | ||
$ cd build | ||
$ cmake .. | ||
$ make | ||
``` | ||
|
||
## Running | ||
|
||
The built binaries will be available in the `build` folder. They expect to be ran with the student git repo as the current working directory. | ||
|
||
```sh | ||
$ cd cse3150sp18.brc15007 | ||
$ ~/cse3150-testing/build/bin/asgn1 | ||
``` |
Submodule Catch2
added at
7012a3
Oops, something went wrong.