module MxxRu::Generators::Impl::MODULE
Constants
- COMPOSITE
Project type is composite.
- DLL
Project type is dinamic library.
- EXE
Project type is executable.
- LIB
Project type is static library.
- LIB_COLLECTION
Project type is library collection.
Public Class Methods
generate_for( target_type, args, receiver = nil )
click to toggle source
Helper method for generation.
Usage:
# For using StdReceiver. generate_for( EXE, ARGV ) # For using custom Receiver. generate_for( EXE, ARGV, CustomReceiver.new )
# 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