File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -561,6 +561,7 @@ set(ROCKSDB_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/${EP_BASE_SUFFIX}/Source/rock
561561add_subdirectory (src/pstd )
562562add_subdirectory (src/net )
563563add_subdirectory (src/storage )
564+ add_subdirectory (pika-tools )
564565aux_source_directory (src DIR_SRCS )
565566
566567# # generate version
Original file line number Diff line number Diff line change 1+ add_subdirectory (./aof_to_pika )
Original file line number Diff line number Diff line change 1+ set (CXXFLAGS "-Wall -W -DDEBUG -g -O0 -D__XDEBUG__ -fPIC -Wno-unused-function -std=c++11"
2+ )
3+ set (SRC_DIR ./src)
4+
5+ aux_source_directory (${SRC_DIR} BASE_OBJS )
6+
7+ add_executable (aof_to_pika ${BASE_OBJS} )
8+
9+ target_include_directories (aof_to_pika PRIVATE ./include PRIVATE ../.. )
10+
11+ target_link_libraries (aof_to_pika pthread )
12+ set_target_properties (aof_to_pika PROPERTIES
13+ RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR } /pika_tools
14+ CMAKE_COMPILER_IS_GNUCXX TRUE
15+ COMPILE_FLAGS ${CXXFLAGS} )
You can’t perform that action at this time.
0 commit comments