Skip to content

Neathan/build.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

build.py

A c++ build system written in python

Usage:

build.py [-h] [-c] [-v] [-r]

Optional arguments:

-h, --help     show help message and exit
-c, --clean    treat all files as changed
-v, --verbose  enter verbose mode
-r, --run      run the program after compilation

Example settings file:

{
	"StandardArguments": [
		"-std=c++17"
	],
	"CStandardArguments": [
	],
	"FileSuffixes": [
		".cpp",
		".h",
		".c"
	],
	"IsLibrary": true,
	"ObjectLocation": "obj/",
	"OutputFile": "app",
	"ExecutableSuffix": "",
	"LibrarySuffix": ".a",
	"LibraryHeaderOutput": "Include/",
	"SourceLocations": [
		"src/",
		"Libraries/Source/"
	],
	"LibraryLocations": [
		"Libraries/Linux/"
	],
	"HeaderLocations": [
		"Libraries/Include/"
	],
	"Libraries": [
		"-lglfw3",
		"-lGL",
		"-lGLU",
		"-ldl",
		"-lX11",
		"-lXi",
		"-lXrandr",
		"-lXxf86vm",
		"-lXinerama",
		"-lXcursor",
		"-pthread"
	]
}

About

A c++ build system written in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages