Meson as build system#9
Conversation
TODO ==== - Update `README.md` with instructions on how to compile the source with meson.
JaroCamphuijsen
left a comment
There was a problem hiding this comment.
@cantordust this looks simple enough! I'm already a big fan of meson just through this single commit. A couple of thoughts:
- I changed the base branch of this PR to the project structure branch, because it was actually branched off that one and had the same commit in there. I think it is better if we merge this into a single branch before merging to main.
- Could you update the README with the new build instructions? The old ones (with code::blocks) can go, then I will also know how to test this new build system.
- Since we are changing build system, we should also get rid of the old build system config files (which are these .cbp files that you put in the
configdirectory). I would just remove them.
…le and run `corticalsim3D`: - Updated the instructions for installing dependencies on Windows (to be verified). - Added instructions on setting up and compiling `corticalsim3D`. - Added a Run section (to be updated).
JaroCamphuijsen
left a comment
There was a problem hiding this comment.
If you change the following lines:
corticalsim3D/config/parameters_ARRAY.txt
Lines 4 to 5 in 2d7a391
to
inputDir ../corticalsim3D/data
outputDir ../corticalsim3D/data
with the current setup instructions, the thing will actually run!
|
[celebrate] Alexander Hadjiivanov reacted to your message:
…________________________________
From: Jaro Camphuijsen ***@***.***>
Sent: Thursday, March 19, 2026 12:11:49 PM
To: NLeSC/corticalsim3D ***@***.***>
Cc: Alexander Hadjiivanov ***@***.***>; Mention ***@***.***>
Subject: Re: [NLeSC/corticalsim3D] Meson as build system (PR #9)
@JaroCamphuijsen approved this pull request.
Looks good to me! let's merge it and I'll continue reviewingthe other PR
—
Reply to this email directly, view it on GitHub<#9 (review)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKOM6PMKLCYI2OJIFP6LFY34RPPYLAVCNFSM6AAAAACWU3RLVOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTSNZUGY3TEOJTHE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
|
To compile, I needed to type (already using bash) so "ninja corticalsim3d" instead of "meson build" did the trick for me. (This depends on meson using ninja, which may differ per user) Also, cmake is one of the dependencies for using meson on ubuntu, and the libboost-all-dev package is way larger than necessary. I used to run (2D) with less, but can't quickly reconstruct. Maybe the more basic libboost-dev is already sufficient? |
Moved to Meson as the build system. This assumes that the new project structure is in place (see hierarchical-project-structure)
Closes #4