Answers for "how to compile C with Mingw , build system sublime text"

0

how to compile C with Mingw , build system sublime text

{
	"folders":
	[
		{
			"path": "bin/..",
			"file_exclude_patterns":["*.sublime-project"]
		}
	],
	"build_systems":
	[
		{
			"name" : "Build Debug",
			"working_dir":"${project_path}",
			"cmd":"gcc -c src/main.c -IC:/mingw64/include -w -Wl,-subsystem,windows && gcc main.o -o bin/debug/main -LC:/mingw64/lib64 -lmingw32 -lSDL2main -lSDL2_image -lSDL2 && start bin/debug/main",
			"selector":"source.c",
			"shell":true//para poder usar &&
		}
	]
}
Posted by: Guest on October-22-2021

Browse Popular Code Answers by Language