From phulutcha.work at gmail.com Fri Nov 17 21:19:24 2023 From: phulutcha.work at gmail.com (Phuwasate Lutchanont) Date: Sat, 18 Nov 2023 10:19:24 +1300 Subject: [build2] Running commands in buildfile Message-ID: Hi, I would like to ask if there is any good resource or documentation for learning the internal commands supported by the buildfile language? In particular, I could not understand the code inside double curly braces whenever I encountered them in the introduction and manual. I cannot seem to find any thorough explanation on what is going on in the code anywhere either. If possible, I would like to see a comprehensive list of buildfile functions as well as some explanation of what the double curly braces syntax does. Thank you, Phuwasate Lutchanont -------------- next part -------------- An HTML attachment was scrubbed... URL: From boris at codesynthesis.com Mon Nov 20 08:36:21 2023 From: boris at codesynthesis.com (Boris Kolpackov) Date: Mon, 20 Nov 2023 10:36:21 +0200 Subject: [build2] Running commands in buildfile In-Reply-To: References: Message-ID: Phuwasate Lutchanont via users writes: > I would like to ask if there is any good resource or documentation for > learning the internal commands supported by the buildfile language? In > particular, I could not understand the code inside double curly braces > whenever I encountered them in the introduction and manual. I cannot seem > to find any thorough explanation on what is going on in the code anywhere > either. There is no proper documentation for this yet, but it's high up on my TODO list. The things in double curly braces are ad hoc recipes/rules. Currently, they can be written in Buildscript or C++, most commonly the former: https://build2.org/release/0.13.0.xhtml#adhoc-recipe https://build2.org/release/0.14.0.xhtml#adhoc-rules https://build2.org/release/0.15.0.xhtml#dyndep https://build2.org/release/0.16.0.xhtml#dyn-target Buildscript is a portable shell-like language that originated in Testscript. In a sense, these two languages shared a common "script" core. Testscript is well documented, and most of the core language documentation applies to Buildscript: https://build2.org/build2/doc/build2-testscript-manual.xhtml From arthur.laurent4 at gmail.com Thu Nov 30 14:01:25 2023 From: arthur.laurent4 at gmail.com (Arthur Laurent) Date: Thu, 30 Nov 2023 15:01:25 +0100 Subject: [build2] GCC modulemap informations Message-ID: <28201406-e2a0-4f44-96ba-ba74431b1c20@gmail.com> Hi there, i'm a contributor of XMake build system C++20 module support we have an implementation of C++20 module mapper with file based API, but i find this API poorly designed and tricky to use so i want to try the server based API i see you have implemented this, but i don't understand how it work exactly inside your build process can i have some precision on how it is implemented if possible ? do you use sockets or pipes ? the module mapper server is a thread of build2 ? an external process ? and is it really better than file based API ? From phulutcha.work at gmail.com Thu Nov 30 20:18:47 2023 From: phulutcha.work at gmail.com (Phuwasate Lutchanont) Date: Fri, 1 Dec 2023 09:18:47 +1300 Subject: [build2] Running commands in buildfile In-Reply-To: References: Message-ID: Thank you very much for the detail! On Mon, 20 Nov 2023 at 21:36, Boris Kolpackov wrote: > Phuwasate Lutchanont via users writes: > > > I would like to ask if there is any good resource or documentation for > > learning the internal commands supported by the buildfile language? In > > particular, I could not understand the code inside double curly braces > > whenever I encountered them in the introduction and manual. I cannot seem > > to find any thorough explanation on what is going on in the code anywhere > > either. > > There is no proper documentation for this yet, but it's high up on my > TODO list. > > The things in double curly braces are ad hoc recipes/rules. Currently, > they can be written in Buildscript or C++, most commonly the former: > > https://build2.org/release/0.13.0.xhtml#adhoc-recipe > https://build2.org/release/0.14.0.xhtml#adhoc-rules > https://build2.org/release/0.15.0.xhtml#dyndep > https://build2.org/release/0.16.0.xhtml#dyn-target > > Buildscript is a portable shell-like language that originated in > Testscript. In a sense, these two languages shared a common "script" > core. Testscript is well documented, and most of the core language > documentation applies to Buildscript: > > https://build2.org/build2/doc/build2-testscript-manual.xhtml > -------------- next part -------------- An HTML attachment was scrubbed... URL: