#NEWLINE# def loads_default_test( self ) : #NEWLINE# #INDENT# settings = Settings . loads ( default_settings_yml ) #NEWLINE# settings . compiler = 'Visual Studio' #NEWLINE# settings . compiler . version = '12' #NEWLINE# settings . arch = 'x86' #NEWLINE# cmake = CMake ( settings ) #NEWLINE# self . assertEqual ( '-G "Visual Studio 12"   -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="12" -Wno-dev' , self . command_line ) #NEWLINE# self . assertEqual ( '' , cmake . build_config ) #NEWLINE# settings . build_type = 'Debug' #NEWLINE# self . assertEqual ( '-G "Visual Studio 12"   -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="12" -Wno-dev' , cmake . command_line ) #NEWLINE# self . assertEqual ( '--config Debug' , cmake . build_config ) #NEWLINE# settings . arch = 'x86_64' #NEWLINE# self . assertEqual ( '-G "Visual Studio 12 Win64"   -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="12" -Wno-dev' , cmake . command_line ) #NEWLINE# settings . os = 'Windows' #NEWLINE# settings . compiler = 'gcc' #NEWLINE# settings . compiler . version = '4.8' #NEWLINE# self . assertEqual ( '-G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug  -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="4.8" -Wno-dev' , cmake . command_line ) #NEWLINE# settings . os = 'Linux' #NEWLINE# settings . arch = 'x86' #NEWLINE# self . assertEqual ( '-G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug  -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="4.8" -DCONAN_CXX_FLAGS=-m32 -DCONAN_SHARED_LINKER_FLAGS=-m32 -DCONAN_C_FLAGS=-m32 -Wno-dev' , cmake . command_line )