Module: MxxRu::Generators::Impl::Cpp
- Defined in:
- lib/mxx_ru/generators/impl/cpp/generation.rb
Defined Under Namespace
Classes: Generator, Options, TemplateParams
Constant Summary collapse
- LIB =
Project type is static library.
:lib
- LIB_COLLECTION =
Project type is library collection.
:lib_collection
- DLL =
Project type is dinamic library.
:dll
- EXE =
Project type is executable.
:exe
- COMPOSITE =
Project type is composite.
:composite
Class Method Summary collapse
-
.generate_for(target_type, args, receiver = nil) ⇒ Object
Helper method for generation.
Class Method Details
.generate_for(target_type, args, receiver = nil) ⇒ Object
278 279 280 281 282 |
# File 'lib/mxx_ru/generators/impl/cpp/generation.rb', line 278 def Cpp.generate_for( target_type, args, receiver = nil ) generator = Generator.new( target_type, args, receiver ? receiver : StdReceiver.new ) generator.run end |