mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Summary: This will help releasing models that are using Caffe2 but have their own operator implementations and extensions. More detailed docs to arrive later. Let's see what contbuild says. Closes https://github.com/caffe2/caffe2/pull/1378 Differential Revision: D6155045 Pulled By: Yangqing fbshipit-source-id: 657a4c8de2f8e095bad5ed5db5b3e476b2a877e1
6 lines
225 B
CMake
6 lines
225 B
CMake
add_library(
|
|
caffe2_module_test_dynamic SHARED
|
|
${CMAKE_CURRENT_SOURCE_DIR}/module_test_dynamic.cc)
|
|
|
|
target_link_libraries(caffe2_module_test_dynamic caffe2)
|
|
install(TARGETS caffe2_module_test_dynamic DESTINATION lib)
|