Commit 47b402fd authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

[t:4814] move release/examples to toplevel, add cmake instructions for copying...

[t:4814] move release/examples to toplevel, add cmake instructions for copying it to the install directory, get rid of release directory

git-svn-id: file:///svn/toku/tokudb@43211 c7de825b-a66e-492c-adef-691d508d4ae1
parent b0a77630
...@@ -89,6 +89,12 @@ add_subdirectory(db-benchmark-test) ...@@ -89,6 +89,12 @@ add_subdirectory(db-benchmark-test)
## subdirectories that just install things ## subdirectories that just install things
add_subdirectory(include) add_subdirectory(include)
add_subdirectory(toku_include) add_subdirectory(toku_include)
add_subdirectory(examples)
install(
FILES README
DESTINATION .
)
file(GLOB_RECURSE all_srcs file(GLOB_RECURSE all_srcs
include/*.c include/*.c
......
install(
FILES
db-insert.c
db-insert-multiple.c
db-scan.c
db-update.c
Makefile
README.examples
DESTINATION
examples
)
\ No newline at end of file
TOKUROOT=../
include $(TOKUROOT)toku_include/Makefile.include
local setup:
cp ../include/db.h include/tokudb.h
cp ../include/db.h include
cp ../include/tdb-internal.h include
cp ../toku_include/toku_list.h include
cp ../toku_include/toku_os.h include
cp ../linux/toku_os_types.h include
cp ../linux/toku_time.h include
cp ../lib/lib$(LIBTOKUDB).so lib
cp ../lib/lib$(LIBTOKUPORTABILITY).* lib
cp ../newbrt/brtdump_static bin
clean:
rm -f include/* lib/* bin/*
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment