Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup include directory #2

Merged
merged 5 commits into from
Feb 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ GPATH
GRTAGS
GSYMS
GTAGS
Doxyfile*
cscope*
tags
doc/html*
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
cmake_minimum_required(VERSION 3.5)
include(mk/common.cmake)

if(NOT DEFINED ENV{COMANCHE_HOME})
message(SEND_ERROR "COMANCHE_HOME is not defined")
Expand Down
1 change: 0 additions & 1 deletion apps/block-perf/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

project(block-perf CXX)

Expand Down
3 changes: 0 additions & 3 deletions apps/cuda-dma/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

project(cuda-dma LANGUAGES CXX)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

#set(CMAKE_CUDA_COMPILER /usr/local/cuda-8.0/bin/nvcc)
#set(CUDA_TOOLKIT_ROOT_DIR /usr/local/cuda-8.0/)
Expand All @@ -21,8 +20,6 @@ message(STATUS "Cuda cublas libraries : ${CUDA_CUBLAS_LIBRARIES}")

cuda_include_directories($ENV{COMANCHE_HOME}/deps/gdrcopy/)
cuda_include_directories($ENV{COMANCHE_HOME}/src/components/)
cuda_include_directories($ENV{COMANCHE_HOME}/src/lib/common/include)
cuda_include_directories($ENV{COMANCHE_HOME}/src/lib/core/include)

# build cuda code into static library

Expand Down
5 changes: 0 additions & 5 deletions apps/paging-tracker/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include(${CMAKE_CURRENT_SOURCE_DIR}/../../mk/common.cmake)

project(paging-tracker CXX)

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../src/)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../src/components/)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../src/lib/common/include)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../src/lib/core/include)
link_directories(/usr/local/lib)
link_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../lib/)
#link_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/)
Expand Down
1 change: 0 additions & 1 deletion src/components/allocator/block/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

add_subdirectory(./unit_test)

Expand Down
1 change: 0 additions & 1 deletion src/components/allocator/block/unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

project(block-allocator-tests CXX)

Expand Down
1 change: 0 additions & 1 deletion src/components/api/wrappers/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

project(wrappers CXX)

Expand Down
1 change: 0 additions & 1 deletion src/components/block/nvme/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ cmake_minimum_required(VERSION 3.5)

add_subdirectory(./unit_test)

include($ENV{COMANCHE_HOME}/mk/common.cmake)


set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -D_BSD_SOURCE -D_FILE_OFFSET_BITS=64 -MD -MP")
Expand Down
1 change: 0 additions & 1 deletion src/components/block/nvme/unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

project(blocknvme-tests CXX)

Expand Down
1 change: 0 additions & 1 deletion src/components/block/posix/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

add_subdirectory(./unit_test)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -D_BSD_SOURCE -D_FILE_OFFSET_BITS=64 -MD -MP")
set(DPDK_DIR "$ENV{COMANCHE_HOME}/deps/dpdk/")
Expand Down
1 change: 0 additions & 1 deletion src/components/block/posix/unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

project(blockposix-tests CXX)

Expand Down
1 change: 0 additions & 1 deletion src/components/block/raid/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ enable_language(CXX C ASM)

add_subdirectory(./unit_test)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

include_directories(./src)

Expand Down
1 change: 0 additions & 1 deletion src/components/block/raid/unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

project(blockraid-tests CXX)

Expand Down
1 change: 0 additions & 1 deletion src/components/block/unvme/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ enable_language(CXX C ASM)

add_subdirectory(./unit_test)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

include_directories(./src)

Expand Down
1 change: 0 additions & 1 deletion src/components/block/unvme/unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

project(blockunvme-tests CXX)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ include_directories(./src/lwip/src/include)
include_directories(./src/lwip)
include_directories(../)
include_directories(../../components/api/)
include_directories(../../lib/common/include)

link_directories(../../lib/common)
link_directories(../../../lib)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ include_directories(../src/)
include_directories(../../../../deps/spdk/include/)
include_directories(../../../../deps/dpdk/include/dpdk/)
include_directories(../../../components/api/)
include_directories(../../../lib/common/include)
link_directories(/usr/local/lib)
link_directories(../../../lib/common)
link_directories(../)
Expand Down
3 changes: 0 additions & 3 deletions src/components/experimental/pmem-paged/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ set(CMAKE_CXX_FLAGS_RELEASE "-O2")

project(comanche-pmempaged CXX)

include_directories(../../components/)
include_directories(../../lib/common/include)
include_directories(../../lib/core/include)
link_directories(../../lib/common)
link_directories(../../../lib)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ set(CXXMAKE_C_FLAGS "${CXXMAKE_C_FLAGS} -O2 -g")
project(pmem-paged-tests CXX)

include_directories(../../)
include_directories(../../../components/api/)
include_directories(../../../lib/common/include)
link_directories(/usr/local/lib)
link_directories(../../../lib/common)
link_directories(../)
Expand Down
1 change: 0 additions & 1 deletion src/components/fs/minix/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_FILE_OFFSET_BITS=64")

Expand Down
1 change: 0 additions & 1 deletion src/components/fs/minix/unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

project(fsminix-tests CXX)

Expand Down
2 changes: 1 addition & 1 deletion src/components/metadata/fixobd/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

add_subdirectory(./unit_test)

Expand All @@ -14,5 +13,6 @@ add_library(${PROJECT_NAME} SHARED ${SOURCES})

set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined")
target_link_libraries(${PROJECT_NAME} common comanche-core pthread numa dl rt tbb)
install(TARGETS ${PROJCT_NAME} LIBRARY DESTINATION lib)


1 change: 0 additions & 1 deletion src/components/metadata/fixobd/unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

project(fixobd-tests CXX)

Expand Down
1 change: 0 additions & 1 deletion src/components/net/rdma/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

add_subdirectory(./unit_test)

Expand Down
1 change: 0 additions & 1 deletion src/components/net/rdma/unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

project(rdma-tests CXX)

Expand Down
1 change: 0 additions & 1 deletion src/components/partition/gpt/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

add_subdirectory(./unit_test)

Expand Down
1 change: 0 additions & 1 deletion src/components/partition/gpt/unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

project(gptpart-tests CXX)

Expand Down
1 change: 0 additions & 1 deletion src/components/partition/region/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

add_subdirectory(./unit_test)

Expand Down
1 change: 0 additions & 1 deletion src/components/partition/region/unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

project(regionpart-tests CXX)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

find_library(GTEST_LIB NAMES GTEST PATHS /usr/local/lib,/usr/lib)

Expand Down
1 change: 0 additions & 1 deletion src/components/pmem/fixed/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

add_subdirectory(./unit_test)

Expand Down
1 change: 0 additions & 1 deletion src/components/pmem/fixed/unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

project(pmem-fixed-tests CXX)

Expand Down
1 change: 0 additions & 1 deletion src/components/pmem/paged/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

add_subdirectory(./unit_test)

Expand Down
1 change: 0 additions & 1 deletion src/components/pmem/paged/unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

project(pmem-posix-tests CXX)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

find_library(GTEST_LIB NAMES GTEST PATHS /usr/local/lib,/usr/lib)

Expand Down
1 change: 0 additions & 1 deletion src/components/pmem/pager-simple/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

add_subdirectory(./unit_test)

Expand Down
1 change: 0 additions & 1 deletion src/components/pmem/pager-simple/unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

project(regionpart-tests CXX)

Expand Down
1 change: 0 additions & 1 deletion src/components/sample/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

add_subdirectory(./unit_test)

Expand Down
1 change: 0 additions & 1 deletion src/components/sample/unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

project(sample-tests CXX)

Expand Down
3 changes: 0 additions & 3 deletions src/components/store/append/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

add_subdirectory(./unit_test)

project(comanche-storeappend CXX)

include_directories($ENV{COMANCHE_HOME}/src/components/)
include_directories($ENV{COMANCHE_HOME}/src/lib/common/include)
include_directories($ENV{COMANCHE_HOME}/src/lib/core/include)
link_directories($ENV{COMANCHE_HOME}/lib)

add_definitions(${GCC_COVERAGE_COMPILE_FLAGS} -DCONFIG_DEBUG)
Expand Down
1 change: 0 additions & 1 deletion src/components/store/append/unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

project(append-store-tests CXX)

Expand Down
4 changes: 0 additions & 4 deletions src/components/store/blob/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

add_subdirectory(./unit_test)

project(comanche-blob CXX)

include_directories(../../components/)
include_directories(../../lib/common/include)
include_directories(../../lib/core/include)
link_directories(../../lib/common)
link_directories(../../../lib)

Expand Down
3 changes: 0 additions & 3 deletions src/components/store/blob/sqlite_ext/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

#add_subdirectory(./unit_test)

project(mddb C CXX)

include_directories(../../components/)
include_directories(../../lib/common/include)
include_directories(../../lib/core/include)
link_directories(../../lib/common)
link_directories(../../../lib)

Expand Down
3 changes: 0 additions & 3 deletions src/components/store/blob/unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

project(blob-tests CXX)

include_directories(../../)
include_directories(../../../components/api/)
include_directories(../../../lib/common/include)
link_directories(/usr/local/lib)
link_directories(../../../lib/common)
link_directories(../)
Expand Down
3 changes: 0 additions & 3 deletions src/components/store/log/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

add_subdirectory(./unit_test)

project(comanche-storelog CXX)

include_directories($ENV{COMANCHE_HOME}/src/components/)
include_directories($ENV{COMANCHE_HOME}/src/lib/common/include)
include_directories($ENV{COMANCHE_HOME}/src/lib/core/include)
link_directories($ENV{COMANCHE_HOME}/lib)

add_definitions(${GCC_COVERAGE_COMPILE_FLAGS} -DCONFIG_DEBUG)
Expand Down
1 change: 0 additions & 1 deletion src/components/store/log/unit_test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

project(log-store-tests CXX)

Expand Down
1 change: 0 additions & 1 deletion src/fuse/append/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
cmake_minimum_required (VERSION 3.5.1 FATAL_ERROR)

include($ENV{COMANCHE_HOME}/mk/common.cmake)

project(fuse-append CXX)

Expand Down
Loading