From 5409e5e3cc1617f93350f13636fe527bc4096c37 Mon Sep 17 00:00:00 2001 From: liaogang Date: Wed, 17 May 2017 13:36:06 +0800 Subject: [PATCH] add reference --- cmake/generic.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmake/generic.cmake b/cmake/generic.cmake index 076a9514adc..4001c915072 100644 --- a/cmake/generic.cmake +++ b/cmake/generic.cmake @@ -22,8 +22,12 @@ # ------------------------------------------- # cc_library nv_library go_library # cc_binary nv_binary go_binary -# cc_test nv_test go_test +# cc_test nv_test go_test # ------------------------------------------- +# +# cmake_parse_arguments can help us to achieve this goal. +# https://cmake.org/cmake/help/v3.0/module/CMakeParseArguments.html + # cc_binary parses tensor.cc and figures out that target also depend on tensor.h. # cc_binary(tensor -- GitLab