GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Caffe_1.0_Windows/tools/CMakeLists.txt at caffe_1.0_windows_py36 · Coderx7/Caffe_1.0_Windows Expand file tree/ Copy pathCMakeLists.txtMore file actions 42 lines (34 loc) · 1.25 KB / Copy pathCMakeLists.txtFile metadata and controls42 lines (34 loc) · 1.25 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 # Collect source files file(GLOB_RECURSE srcs ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp) # Build each source file independently foreach(source ${srcs}) get_filename_component(name ${source} NAME_WE) # caffe target already exits if(name MATCHES "caffe") set(name ${name}.bin) endif() # target add_executable(${name} ${source}) target_link_libraries(${name} ${Caffe_LINK}) caffe_default_properties(${name}) if(MSVC AND COPY_PREREQUISITES) caffe_copy_prerequisites(${name} USE_HARD_LINKS) endif() # set back RUNTIME_OUTPUT_DIRECTORY caffe_set_runtime_directory(${name} "${PROJECT_BINARY_DIR}/tools") caffe_set_solution_folder(${name} tools) # restore output name without suffix if(name MATCHES "caffe.bin") set_target_properties(${name} PROPERTIES OUTPUT_NAME caffe) if(MSVC) # the exectuable will have an import library with the same name as the caffe lib # so change the import library to avoid name clashes set_target_properties(${name} PROPERTIES IMPORT_SUFFIX ".bin.lib") endif() endif() # Install install(TARGETS ${name} DESTINATION ${CMAKE_INSTALL_BINDIR}) if(MSVC AND INSTALL_PREREQUISITES) caffe_install_prerequisites(${name} DESTINATION ${CMAKE_INSTALL_BINDIR}) endif() endforeach(source) |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |