Skip to content
Permalink
Browse files

rebranding: oneroot to mindcastle, keeping oneroot as symlink

  • Loading branch information...
jacobgorm committed Feb 28, 2019
1 parent c97d549 commit 71533b04cac03f8517099933cf048da1200daef7
Showing with 7 additions and 6 deletions.
  1. +4 −4 CMakeLists.txt
  2. +3 −2 Makefile
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.4)

project("oneroot" C)
project("mindcastle" C)
option(BUILD_PYKV "build pykv python3 extension" OFF)

find_package(CURL)
@@ -34,8 +34,8 @@ install(TARGETS swap
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)

add_executable(oneroot nbd.c)
target_link_libraries(oneroot swap -lpthread -llz4 ${OPENSSL_LIBRARIES} ${CURL_LIBRARIES})
add_executable(mindcastle nbd.c)
target_link_libraries(mindcastle swap -lpthread -llz4 ${OPENSSL_LIBRARIES} ${CURL_LIBRARIES})

add_executable(img-test img-test.c mt19937-64.c)
target_link_libraries(img-test swap -lpthread -llz4 ${OPENSSL_LIBRARIES} ${CURL_LIBRARIES})
@@ -46,7 +46,7 @@ target_link_libraries(img-fsck swap -lpthread -llz4 ${OPENSSL_LIBRARIES} ${CURL_
add_executable(img-heat img-heat.c mt19937-64.c)
target_link_libraries(img-heat swap -lpthread -llz4 ${OPENSSL_LIBRARIES} ${CURL_LIBRARIES})

install(TARGETS oneroot img-fsck img-test DESTINATION bin)
install(TARGETS mindcastle img-fsck img-test DESTINATION bin)

if (BUILD_PYKV)
add_library(kv
@@ -2,7 +2,8 @@ PYKV?=OFF

all: build/build.ninja
ninja -C build &&\
ln -f -s build/oneroot oneroot
ln -f -s build/mindcastle oneroot
ln -f -s build/mindcastle mindcastle

install: build/build.ninja
ninja -C build install
@@ -14,7 +15,7 @@ clean:
ninja -C build clean

distclean:
rm -rf build tags oneroot
rm -rf build tags oneroot mindcastle

tags:
ctags -R *

0 comments on commit 71533b0

Please sign in to comment.
You can’t perform that action at this time.