Sha256: c0c48db092f650a9d6cc119fabe435a41f7e4be2fdb56bfc5b116164eedbf409

Contents?: true

Size: 1004 Bytes

Versions: 5

Compression:

Stored size: 1004 Bytes

Contents

module BuildTool; module BuildSystem


    #
    #
    #
    class Autoconf < Base

        #
        ### ATTRIBUTES
        #
        def intitialize( *args )
            super( *args )
        end

        def name
            "autoconf"
        end

        #
        ### METHODS
        #

        def[]( var )
            case var

            when 'CMAKE_CXXFLAGS'
                return @options[var]

            else
                # *TODO* raise correct exception
                raise NotImplementedError
            end
        end

        def[]=( var, val )
            case var

            when 'CXXFLAGS'
                @options[var] = val

            else
                # *TODO* raise correct exception
                raise NotImplementedError
            end

        end

        def install( fast )
            make( "install" )
        end

        def install_fast_supported?
            false
        end

    end # class Autoconf

end; end # module BuildTool::BuildSystem

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
build-tool-0.1.4 lib/build-tool/build-system/autoconf.rb
build-tool-0.1.3 lib/build-tool/build-system/autoconf.rb
build-tool-0.1.2 lib/build-tool/build-system/autoconf.rb
build-tool-0.1.0 lib/build-tool/build-system/autoconf.rb
build-tool-0.1.1 lib/build-tool/build-system/autoconf.rb