MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / register

Function register

tools/create_class.rb:168–174  ·  view source on GitHub ↗
(openms_path, lib_name, path, clazz)

Source from the content-addressed store, hash-verified

166end
167
168def register(openms_path, lib_name, path, clazz)
169 include_cmake = "#{openms_path}/src/#{lib_name}/include/OpenMS/#{path}/sources.cmake"
170 source_cmake = "#{openms_path}/src/#{lib_name}/source/#{path}/sources.cmake"
171
172 register_file(include_cmake, "#{clazz}.h")
173 register_file(source_cmake, "#{clazz}.cpp")
174end
175
176##### INSTANTIATE CMD PARSER
177opts = GetoptLong.new(

Callers 1

create_class.rbFile · 0.85

Calls 1

register_fileFunction · 0.85

Tested by

no test coverage detected