Skip to content

Commit

Permalink
Fix odd #include, remove dangling newline, alter readme to match prop…
Browse files Browse the repository at this point in the history
…osal
  • Loading branch information
HauserV committed Oct 5, 2018
1 parent 44a0a34 commit 9c57f3e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 2.8)

project(include/snowhouse)
project(snowhouse)

option(SNOWHOUSE_BUILD_TESTS "Build the Snowhouse tests" OFF)
option(SNOWHOUSE_RUN_TESTS "Run the Snowhouse tests" OFF)
Expand Down Expand Up @@ -63,4 +63,3 @@ if (SNOWHOUSE_BUILD_TESTS AND SNOWHOUSE_RUN_TESTS)
elseif (SNOWHOUSE_RUN_TESTS)
message(WARNING "Unable to run snowhouse tests - set:\n option(SNOWHOUSE_BUILD_TESTS, \"Build the Snowhouse tests\" ON)\nand clear your CMakeCache.txt")
endif()

9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@ git submodule add -b headers-only https://github.com/banditcpp/snowhouse snowhou
git submodule update --init --recursive
```

CMake (>= 3.0) users can use the provided library target:
```CMake
shell$ git clone https://github.com/banditcpp/snowhouse.git
As an alternative, CMake >= 3.0 users can use Snowhouse with the provided library target.
Assuming you have cloned the `master` branch into a `snowhouse` subdirectory,
your `CMakeLists.txt` might contain lines like the following:

# CMakeLists.txt
```cmake
add_subdirectory(snowhouse)
add_executable(app main.cpp)
target_link_libraries(app snowhouse)
```


## Usage

```C++
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#ifndef SNOWHOUSE_COLLECTIONOPERATOR_H
#define SNOWHOUSE_COLLECTIONOPERATOR_H

#include "../../operators/constraintoperator.h"
#include "../constraintoperator.h"

namespace snowhouse
{
Expand Down

0 comments on commit 9c57f3e

Please sign in to comment.