Sha256: 6ca5cdb43ae0c538678cb22bf83b966308e680e7b36fd067736fbe7247574796

Contents?: true

Size: 1.15 KB

Versions: 12

Compression:

Stored size: 1.15 KB

Contents

# -*- coding: UTF-8 -*-

require 'mj/tools/subprocess'
require 'build-tool/build-system/base'

module BuildTool; module BuildSystem


    #
    # 
    #
    class None < Base

        include MJ::Tools::SubProcess

        def initialize( *args )
            super( *args )
        end

        #
        ### ATTRIBUTES
        #

        # Check if the module is configured
        def configured?
            true
        end

        def name
            "none"
        end

        #
        ### METHODS
        #

        # Configure the module
        def reconfigure()
            0
        end

        # We have no buildsystem so we need no install prefix
        def check_install_prefix
            true
        end

        # Execute a cmake command in the context of the build directory
        def cmake( command, wd = build_directory )
            0
        end

        def configure
            0
        end

        def install( fast )
            0
        end

        def install_fast_supported?
            true
        end

        def make( target = nil )
            0
        end

    end # class CMake


end; end # module BuildTool::BuildSystem

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
build-tool-0.6.9 lib/build-tool/build-system/none.rb
build-tool-0.6.8 lib/build-tool/build-system/none.rb
build-tool-0.6.7 lib/build-tool/build-system/none.rb
build-tool-0.6.6 lib/build-tool/build-system/none.rb
build-tool-0.6.5 lib/build-tool/build-system/none.rb
build-tool-0.6.4 lib/build-tool/build-system/none.rb
build-tool-0.6.3 lib/build-tool/build-system/none.rb
build-tool-0.6.2 lib/build-tool/build-system/none.rb
build-tool-0.6.1 lib/build-tool/build-system/none.rb
build-tool-0.6.0 lib/build-tool/build-system/none.rb
build-tool-0.6.0.rc2 lib/build-tool/build-system/none.rb
build-tool-0.6.0.rc1 lib/build-tool/build-system/none.rb