Skip to content

Commit

Permalink
Rename binary name to loki-storage
Browse files Browse the repository at this point in the history
  • Loading branch information
msgmaxim committed Jul 15, 2019
1 parent 052d002 commit 8ba5286
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ git submodule update --init
mkdir build && cd build
cmake -DDISABLE_SNODE_SIGNATURE=OFF -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
./httpserver 0.0.0.0 8080
./loki-storage 0.0.0.0 8080
```

The paths for Boost and OpenSSL can be specified by exporting the variables in the terminal before running `make`:
Expand Down
3 changes: 2 additions & 1 deletion httpserver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@ set_property(TARGET httpserver_lib PROPERTY CXX_STANDARD 14)
target_include_directories(httpserver_lib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${Boost_INCLUDE_DIRS})
target_link_libraries(httpserver_lib PUBLIC ${Boost_LIBRARIES})


set(BIN_NAME loki-storage)

add_executable(httpserver main.cpp)
set_target_properties(httpserver PROPERTIES OUTPUT_NAME ${BIN_NAME})
set_property(TARGET httpserver PROPERTY CXX_STANDARD 14)
target_link_libraries(httpserver PRIVATE httpserver_lib)
install(TARGETS httpserver DESTINATION bin)
Expand Down

0 comments on commit 8ba5286

Please sign in to comment.