ctplt 0.0.1

A package manager + build system for C and C++
Documentation
nasm_assembler = ["C:/Program Files/NASM/nasm"]

msvc_platforms = ["x64", "Win32", "ARM64"]

[profile.Debug]

nasm_assemble_flags = ["-O0", "-Xvc"]

	[profile.Debug.vcxproj]
	preprocessor_definitions = [ "_DEBUG" ]

		[profile.Debug.vcxproj.property_group]
		UseDebugLibraries = "true"
		WholeProgramOptimization = "false"

		[profile.Debug.vcxproj.cl_compile]
		BasicRuntimeChecks = "EnableFastChecks"
		DebugInformationFormat = "ProgramDatabase"
		InlineFunctionExpansion = "Disabled"
		Optimization = "Disabled"
		RuntimeLibrary = "MultiThreadedDebug"

		[profile.Debug.vcxproj.link]
		GenerateDebugInformation = "true"
		SubSystem = "Console"


[profile.Release]

nasm_assemble_flags = ["-Ox", "-Xvc"]

	[profile.Release.vcxproj]
	preprocessor_definitions = [ "NDEBUG" ]

		[profile.Release.vcxproj.property_group]
		UseDebugLibraries = "false"
		WholeProgramOptimization = "true"

		[profile.Release.vcxproj.cl_compile]
		DebugInformationFormat = ""
		InlineFunctionExpansion = "AnySuitable"
		Optimization = "MaxSpeed"
		RuntimeLibrary = "MultiThreaded"

		[profile.Release.vcxproj.link]
		GenerateDebugInformation = "false"
		EnableCOMDATFolding = "true"
		OptimizeReferences = "true"


[profile.MinSizeRel]

nasm_assemble_flags = ["-Ox", "-Xvc"]

	[profile.MinSizeRel.vcxproj]
	preprocessor_definitions = [ "NDEBUG" ]

		[profile.MinSizeRel.vcxproj.property_group]
		UseDebugLibraries = "false"
		WholeProgramOptimization = "true"

		[profile.MinSizeRel.vcxproj.cl_compile]
		DebugInformationFormat = ""
		InlineFunctionExpansion = "OnlyExplicitInline"
		Optimization = "MinSpace"
		RuntimeLibrary = "MultiThreaded"

		[profile.MinSizeRel.vcxproj.link]
		GenerateDebugInformation = "false"
		EnableCOMDATFolding = "true"
		OptimizeReferences = "true"


[profile.RelWithDebInfo]

nasm_assemble_flags = ["-Ox", "-Xvc"]

	[profile.RelWithDebInfo.vcxproj]
	preprocessor_definitions = [ "NDEBUG" ]

		[profile.RelWithDebInfo.vcxproj.property_group]
		UseDebugLibraries = "false"
		WholeProgramOptimization = "true"

		[profile.RelWithDebInfo.vcxproj.cl_compile]
		DebugInformationFormat = "ProgramDatabase"
		InlineFunctionExpansion = "OnlyExplicitInline"
		Optimization = "MaxSpeed"
		RuntimeLibrary = "MultiThreaded"

		[profile.RelWithDebInfo.vcxproj.link]
		GenerateDebugInformation = "true"