Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CPPBuild/Target.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,23 @@ int Target::build()
if (targetType == TargetType::custom)
{
runCommand(buildCommand, "Could not run build command");
#ifndef WIN32
return postBuild();
#else
return 0;
#endif
}

link();
linkCSS();
package();

#ifndef WIN32
// On Windows msbuild runs postbuild as a post-build event; elsewhere nothing else would copy the target's copyFiles
return postBuild();
#else
return 0;
#endif
}

void Target::clean()
Expand Down
Loading