Searched refs:c_var (Results 1 – 8 of 8) sorted by relevance
24 function(ms_protobuf_generate c_var h_var)30 set(${c_var})40 list(APPEND ${c_var} "${CMAKE_BINARY_DIR}/${rel_path}/${file_name}.pb.cc")53 set_source_files_properties(${${c_var}} ${${h_var}} PROPERTIES GENERATED TRUE)54 set(${c_var} ${${c_var}} PARENT_SCOPE)59 function(ms_protobuf_generate_py c_var h_var py_var)65 set(${c_var})76 list(APPEND ${c_var} "${CMAKE_BINARY_DIR}/${rel_path}/${file_name}.pb.cc")97 set_source_files_properties(${${c_var}} ${${h_var}} ${${py_var}} PROPERTIES GENERATED TRUE)98 set(${c_var} ${${c_var}} PARENT_SCOPE)
23 function(ge_protobuf_generate c_var h_var)24 common_protobuf_generate(${CMAKE_BINARY_DIR}/proto/ge/proto ${c_var} ${h_var} ${ARGN})25 set(${c_var} ${${c_var}} PARENT_SCOPE)
63 function(common_protobuf_generate path c_var h_var)69 set(${c_var})78 list(APPEND ${c_var} "${path}/${file_name}.pb.cc")89 set_source_files_properties(${${c_var}} ${${h_var}} PROPERTIES GENERATED TRUE)90 set(${c_var} ${${c_var}} PARENT_SCOPE)94 function(ms_protobuf_generate c_var h_var)95 common_protobuf_generate(${CMAKE_BINARY_DIR}/proto ${c_var} ${h_var} ${ARGN})96 set(${c_var} ${${c_var}} PARENT_SCOPE)100 function(ms_protobuf_generate_py c_var h_var py_var)106 set(${c_var})[all …]
88 function(ms_grpc_generate c_var h_var)94 set(${c_var})103 list(APPEND ${c_var} "${CMAKE_BINARY_DIR}/proto/${file_name}.pb.cc")105 list(APPEND ${c_var} "${CMAKE_BINARY_DIR}/proto/${file_name}.grpc.pb.cc")123 set_source_files_properties(${${c_var}} ${${h_var}} PROPERTIES GENERATED TRUE)124 set(${c_var} ${${c_var}} PARENT_SCOPE)
11 +function(protobuf_generate c_var h_var)17 + set(${c_var})28 + list(APPEND ${c_var} "${CMAKE_BINARY_DIR}/${file_name}.pb.cc")41 + set_source_files_properties(${${c_var}} ${${h_var}} PROPERTIES GENERATED TRUE)42 + set(${c_var} ${${c_var}} PARENT_SCOPE)
34 shared_ptr<int> c_var = dll::import<int>( in main() local39 int c_var_old_contents = *c_var; // using the variable in main()40 *c_var = 100; in main()
839 const char *out_filename, *c_var, *fname; in main() local846 c_var = NULL; in main()868 c_var = optarg; in main()909 if (c_var) { in main()910 save_c_source(out_filename, buf2, buf2_len, c_var); in main()