xmake.lua. .e.g add_ldflags("$(shell pkg-config --libs sqlite3)")getenv interface for the global scope of xmake.luaset_default api for option*.cxx files failedXmake provide a builtin-plugin for generating VisualStudio project file (vs2002 - 2015) now.
.e.g
We need enter the project directory first and run the following command if we want to generate vs2013 project.
$ xmake project -k vs2013
It will generate a directory(vs2013) in the current project and the directory structure is similar to:
vs2013
├── demo
│   └── demo.vcxproj
├── tbox
│   └── tbox.vcxproj
└── tbox.sln
__tb_deprecated__ keyword and optionTBOOX focus on cross-platform development using c language.
Welcome to join the TBOOX Open Source Community if you want to be interesting to our open source projects.
:)
This is a very simple and lightweight x86 virtual machine which can load and run the assembly code from ida pro directly.
We get one assemble code from ida pro first and this code will call the libc api: printf
sub_hello	proc near 
arg_0		= dword	ptr  8 
.data 
        format db \"hello: %x\", 0ah, 0dh, 0 
 
off_5A74B0	dd offset loc_6B2B50	; DATA XREF: sub_589100+1832 
		dd offset loc_58A945	; jump table for switch	statement 
 
.code 
        ; hi
        push	ebp ;hello 
		mov	ebp, esp 
 
    loc_6B2B50:				; CODE XREF: sub_6B2B40+8
        push    eax 
		mov	eax, [ebp+arg_0] 
        push eax 
        mov eax, offset format 
        push eax 
        call printf 
        add esp, 4 
        pop eax 
        
        mov ecx, 1
        jmp ds:off_5A74B0[ecx*4]
 
loc_58A945:
        push    eax 
		mov	eax, [ebp+arg_0] 
        push eax 
        mov eax, offset format 
        push eax 
        call printf 
        add esp, 4 
        pop eax 
        
  end:
        mov	esp, ebp 
		pop	ebp 
        retn 
sub_hello    endp 
And we call it in c language first.
sub_hello(31415926);