From af7f485e0692dc2eff7da057b6ecd038032ce8ec Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sat, 18 Jul 2020 16:17:59 +0200 Subject: Consolidate test/demo for all build systems This is an attempt to unify the code for all build systems (CMake, autotools with make), platforms (operating systems) and toolchains (make + gcc/clang, Visual Studio IDE, Xcode ...) to avoid duplicate code and clarify the differences for future devs and to simplify maintenance. The goal is to minimize the platform specific code. Much of the new code are comments to describe the different situations. The main program does now all the "hard work" to construct the paths necessary to access the other applications and data files. Use macOS specific code to determine the application path (app_path) in main() instead of function dobut(), when test apps are activated. Remove obsolete comments and dead code. Tested on Windows and Linux with both autotools/configure/make and CMake with make (Linux + MinGW), Visual Studio. --- test/demo.menu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/demo.menu') diff --git a/test/demo.menu b/test/demo.menu index 2eedfb772..8b325cca6 100644 --- a/test/demo.menu +++ b/test/demo.menu @@ -58,7 +58,7 @@ @u:fast && slow widgets:fast_slow @u:inactive:inactive -@main:Fluid\n(UI design tool):../fluid/fluid valuators.fl +@main:Fluid\n(UI design tool):fluid valuators.fl @main:Cool\nDemos...:@e @e:X Color\nBrowser:colbrowser -- cgit v1.2.3