Skip to content

Commit

Permalink
Fix RawAndTribitsHelloWorld/README (TriBITSPub#276)
Browse files Browse the repository at this point in the history
Build/Test Cases Summary
Enabled Packages:
Enabled all Packages
0) MPI_DEBUG => passed: passed=337,notpassed=0 (0.84 min)
1) SERIAL_RELEASE => passed: passed=337,notpassed=0 (0.95 min)
  • Loading branch information
bartlettroscoe committed Feb 13, 2019
1 parent b4d8233 commit f5ca5b7
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions tribits/examples/RawAndTribitsHelloWorld/README
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
This is a simple raw CMake project that is used to contrast with the raw
CMake project in ../RawHelloWorld/.
This is a simple CMake project shows how to have a default raw CMake build
system and secondary TriBITS build system sit side-by-side.

To configure this, you just create a build dir as:

$ cd $SOME_BASE_DIR
$ mkdir BUILD
$ cd BUILD

and then configure, build, and test with:
and then configure, build, and test with the raw CMake build system, use:

$ cmake $TRIBITS_DIR/doc/example/TribitsHelloWorld
$ cmake $TRIBITS_DIR/doc/example/RawAndTribitsHelloWorld
$ make
$ ctest

To configure, build, and test with the TriBITS CMake build system, use:

$ cmake \
-DRawAndTribitsHelloWorld_TRIBITS_DIR=${TRIBITS_DIR} \
$TRIBITS_DIR/doc/example/RawAndTribitsHelloWorld
$ make
$ ctest

0 comments on commit f5ca5b7

Please sign in to comment.