mirror of
https://github.com/facebookresearch/faiss.git
synced 2026-10-11 22:50:00 +00:00
Remove CMake. (#645)
This commit is contained in:
committed by
Matthijs Douze
parent
aafc7b0457
commit
ac7005b6ef
@@ -1 +0,0 @@
|
||||
add_subdirectory(cpp)
|
||||
@@ -1,15 +0,0 @@
|
||||
file(GLOB srcs ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
|
||||
|
||||
# Build each source file independently
|
||||
include_directories(../../../) # faiss root directory
|
||||
|
||||
foreach(source ${srcs})
|
||||
get_filename_component(name ${source} NAME_WE)
|
||||
|
||||
# target
|
||||
add_executable(${name} ${source})
|
||||
target_link_libraries(${name} ${faiss_lib})
|
||||
|
||||
# Install
|
||||
install(TARGETS ${name} DESTINATION bin)
|
||||
endforeach(source)
|
||||
Reference in New Issue
Block a user