case "$(uname -s)" in
# Stripping is known to make non-PIE Linux netradiant binary unusable.
# Maybe that's related to the way we patch rpath?
+ #
# Building NetRadiant as non-PIE is required because of
# a mistake in the mimetype-library that prevents users
# to run the application from file managers on Linux.
+ #
# See: https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/11
+ #
+ # After installation it's possible to strip manually all binaries except
+ # the netradiant one.
'Linux')
install_target='install'
;;
make -j"${job_count}" builtins
}
+task_discover_builtins () {
+ sync
+ cmake "${project_source_dir}"
+}
+
task_build () {
sync
make -j"${job_count}"
task_build_builtins
+task_discover_builtins
+
task_build
task_install