Skip to content

Xcode does not support custom build commands #940

@wraitii

Description

@wraitii

It seems the Xcode module does not handle custom build commands. We just switched to using them for 0 A.D.'s build system for the tests, and the Xcode test project doesn't work.

This is apparently the subject of a "forgotten" PR.

This can be tested by building 0 A.D., but the following "minimal" example works too:

workspace "Example"
	configurations { "Release" }
	platforms { "macOS" }
	location ("workspaces/")
	language "C++"
	targetdir ("build/output")
	objdir ("build/obj")
	nativewchar "Off"
	buildoptions { "-Wall", "-Wextra" }

project "Example"
	kind "ConsoleApp"

	files { "main.cpp" }

	filter "files:*.cpp"
		buildmessage 'Doing stuff'
		buildcommands {
			'touch somefile.cpp'
		}

		buildoutputs { 'somefile.cpp' }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions