World: r3wp
[!REBOL3 Extensions] REBOL 3 Extensions discussions
older newer | first last |
AdrianS 12-Jul-2010 [865] | here's the CMakeLists.txt from the OpenCV project , as an example: https://code.ros.org/svn/opencv/tags/latest_tested_snapshot/opencv/CMakeLists.txt |
Andreas 12-Jul-2010 [866x2] | In my opinion, there are bigger problems to tackle before spreading thin over multiple platforms makes sense. |
(Eventing, for example) | |
Carl 12-Jul-2010 [868] | Yes, of course, but if more developers get involved, the work does not need to be sequential. |
Graham 12-Jul-2010 [869] | Oh yeah ..let's get an Os/2 build too ! |
Carl 12-Jul-2010 [870] | Hmmm. |
Andreas 12-Jul-2010 [871] | http://bolka.at/2010/rebol3/CMakeLists.txt.html |
Carl 12-Jul-2010 [872] | Looking at above link, I don't think cmake provides much benefit to us. |
Graham 12-Jul-2010 [873] | ( the current version of Os/2 is ecomworkstation and is positioned as a secure enterprise client environemnt ) |
Andreas 12-Jul-2010 [874x2] | Here's the CMake buildfile I use for the A96 hostkit |
CMake provides the benefit that we don't have to reinvent the wheel for now. It has, for example, a nice installer for Win32 and can automatically generate Visual Studio project files from the above. | |
AdrianS 12-Jul-2010 [876] | well, if you are considering a makefile generator, at least cmake is somewhat of a standard |
Carl 12-Jul-2010 [877] | Installer? What does it install? |
Andreas 12-Jul-2010 [878x3] | cmake.exe |
CMake takes the above as input and generates e.g. a Makefile as output. | |
Taking specifics of the actual build environment into account. | |
Carl 12-Jul-2010 [881] | The method I use for R3 simply uses REBOL to generate the host-kit, the makefile, and other related files at the same time. |
Andreas 12-Jul-2010 [882x2] | With CMake the workflow of a user who wants to build the hostkit on Win32 would be as follows: - Download and install a toolchain (e.g. MingW or MSVC) - Download and install CMake - Download the R3 Hostkit - Generate a R3 build script for your preferred toolchain using CMake. E.g. use CMake to generate a GNU make Makefile for MingW - Build the R3 Hostkit (using the generated build script) |
Without CMake, those steps would be the same, except for the extra installation of CMake and the generation of a local build script. But it would also either limit the user to a single toolchain (such as MingW, currently) or you would need to replicate some of the functionality of CMake in your make-build.r | |
AdrianS 12-Jul-2010 [884] | there's a GUI front end for cmake too, though I guess one could be made for REBOL just as easily - this lets you resolve env var issues and other things |
Andreas 12-Jul-2010 [885] | Further, at least for the A96 hostkit, Linux and Win32 hostkits are completely separate packages, and that's an incredible nuisance for someone doing cross-platform work. |
Edgar 12-Jul-2010 [886x2] | It built for me just fine but I had to modify the makefile to use cp lib\r3lib.dll . instead of copy lib\r3lib.dll . inside a mingw cmd window. |
Do we have a test files to run to check if all areas of R3 that is implemented is working? | |
Graham 12-Jul-2010 [888] | It would be good if we had access to the test suites |
Edgar 12-Jul-2010 [889] | After adding MinGW\bin and msys\1.0\bin to the windows command path and also copying rebol.exe to msys\1.0\bin folder, I was able to build it from a normal command window without modifying the makefile. |
Andreas 12-Jul-2010 [890] | Carl: in any case, I don't care much about CMake. Just shipping the hostkit with your make-build.r instead of a pre-built makefile would most likely do just fine for getting an integrated cross-platrform build working. (Plus, of course, bundling the libraries and sources for all platforms in the hostkit.) |
Edgar 12-Jul-2010 [891] | I see go.r can be use as test. |
Andreas 12-Jul-2010 [892] | And just in case: _THANKS_ a million for the new hostkit code drop, Carl (and everyone else who helped make it happen)! |
Graham 12-Jul-2010 [893] | echo that |
Maxim 12-Jul-2010 [894] | yes thanks to everyone who worked on making it happen. :-) |
Graham 12-Jul-2010 [895] | we now have a domain ( thanks Andreas ) for the tracker http://jira.rebolsource.net:8080/secure/Dashboard.jspa |
Andreas 12-Jul-2010 [896] | and now is probably as good a time as any to move this discussion to !REBOL3 Host Kit |
NickA 13-Jul-2010 [897] | +1 Thank you! |
Pekr 13-Jul-2010 [898] | Apart from Win, OS-X, Linux, BSD, the next most important platform is really imo an ARM plus Android. |
Graham 13-Jul-2010 [899x2] | Put Arm before BSD |
BSD is well serviced by R2 | |
NickA 13-Jul-2010 [901] | I agree - for R3 to gain traction, mobile support should be a priority. |
Robert 13-Jul-2010 [902x2] | Jira: Why a new tracker? Isn't CureCode still be used? No information fragmentation please. |
Priorities: Before getting new platforms up & running I see feature completion to be more critical. Otherwise we have a moving target that takes to much effort to keep in sync. | |
Pekr 13-Jul-2010 [904] | I agree about the completness-first argument ... |
Graham 13-Jul-2010 [905] | Robert, if you read above, Carl did not want to make a public release unless someone gathered all the comments ... and Andreas & I volunteered. The curecode tracker does not have a hostkit project ... so I used my new Jira tracker. Simple as that. |
BrianH 13-Jul-2010 [906x2] | Most of the host kit problems are R3 problems as well. We have categories in R3's Curecode project, and we can add a Host-Kit category if needed (I will do so right now). Multiple trackers are not a good idea, in general. We'll see if they become a problem in this specific case. |
Done. | |
Andreas 13-Jul-2010 [908x2] | Thanks |
Could you add an A100 version as well, please? | |
BrianH 13-Jul-2010 [910] | Done. As with all new versions added, be careful to set that field when you write up a new ticket. But we should be careful with that, because in general we haven't had prereleases. We may end up with problems reported for a100 that will be fixed in a100 :) |
Andreas 13-Jul-2010 [911] | I consider the current hostkit drop to be hostkit version A100. The next hostkit to be released should (and hopefully will) be A101 or later. |
Graham 13-Jul-2010 [912] | Anyone know how to compile in one's own protocols ?? |
BrianH 13-Jul-2010 [913x2] | The "current hostkit drop" is not a release, it's a prerelease. |
This is getting increasingly off topic. | |
older newer | first last |