class BuildRecipeCMake
Public Instance Methods
Source
# File ext/fox16_c/extconf.rb, line 108 def configure_defaults [ "-DENABLE_STATIC=0", "-DENABLE_SHARED=1", "-DCMAKE_SYSTEM_NAME=Windows", "-DCMAKE_C_COMPILER=#{host}-gcc", "-DCMAKE_CXX_COMPILER=#{host}-g++", "-DCMAKE_SYSTEM_PROCESSOR=#{system_processor}", ] end
Source
# File ext/fox16_c/extconf.rb, line 99 def system_processor case host when /x86_64/ then "amd64" when /i686/ then "x86" when /aarch64/ then "aarch64" else raise "unknown host #{host}" end end