> Le 1 juil. 2018 à 18:03, Pascal <[email protected]> a écrit : > >> >> Le 9 juin 2018 à 13:01, Pascal via Gnoga-list >> <[email protected]> a écrit : >> >> Hello, >> >> I'll add a standalone compilation mode with Gnoga which doesn't need Gnoga >> install. >> >> For Unix like: >> (it is like gtkada-config) >> The script is created a first time with makefile and then can be use without >> makefile. >> >> Simply do: >> $ cd <gnoga-repo> >> $ make gnoga-config >> $ cd <your-stuff> >> $ gprbuild -P your-project.gpr your-main.adb >> `<gnoga-repo>/build/bin/gnoga-config` >> (your-project.gpr just have to include 'with "gnoga";') >> >> You can also add <gnoga-repo>/build/bin to your PATH and then just do: >> $ gprbuild -P your-project.gpr your-main.adb `gnoga-config` >> >> gnoga-config sets the search project directories for gprbuild. >> > > For Windows, I fear that I can't do the same. > Nevertheless, I can use Gautier trick: > make.cmd: mingw32-make %1 %2 %3 %4 %5 %6 %7 %8 %9 > > Thus, makefile creates gnoga-config.cmd with up to 9 arguments with gnoga > compilation options. > > Usage: >> cd <gnoga-repo> >> make gnoga-config >> cd <your-stuff> >> <gnoga-repo>\build\bin\gnoga-config gprbuild -P your-project.gpr >> your-main.adb > (your-project.gpr just have to include 'with "gnoga";') > > You can also add <gnoga-repo>\build\bin to your PATH and then just do: >> gnoga-config gprbuild -P your-project.gpr your-main.adb > > Could some Windows users test it? > > Has someone better ideas? > > Thanks, Pascal. > http://blady.pagesperso-orange.fr > > The modified 1.3 makefile: > > <Makefile>
Hello, I've pushed the modified Makefile to SF GIT branch dev_1.3. See INSTALL at section 4. If it's convenient for all Gnoga users, I will froze version 1.3. Regards, Pascal. http://blady.pagesperso-orange.fr ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gnoga-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gnoga-list
