Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » meson build(The way to specify args in row)
meson build [message #1833730] Thu, 22 October 2020 17:28 Go to next message
Sergey Skorokhod is currently offline Sergey SkorokhodFriend
Messages: 2
Registered: October 2020
Junior Member
I want to make meson build with args like:

meson -Dmake_meson_build=true build --cross-file cross/arm.txt


Is there a way to specify it like this?
Is it possible to change build dir from build/default to simply build?
Re: meson build [message #1833759 is a reply to message #1833730] Fri, 23 October 2020 11:26 Go to previous message
Sergey Skorokhod is currently offline Sergey SkorokhodFriend
Messages: 2
Registered: October 2020
Junior Member
So, I've done with cross-file and -D args - all this is in the meson's settings list.
The only issue left is that cross-file contains properties section with a local path for linker script like:
[properties]
linker_scripts = ['../STM32F429NIHx_FLASH.ld']

where crossfile is located at project_dir/cross/arm.txt

normally, we locate build dir like:
project_dir/build_debug
project_dir/build_release

while eclipse's meson plugin generates
project_dir/build/default

So, now the question is: is ot possible to specify build dit location directly?




Previous Topic:Arduino upload problem from Eclipse CDT / Ubuntu
Next Topic:Eclipse C++ symbols could not be resolved
Goto Forum:
  


Current Time: Sat Apr 20 01:53:19 GMT 2024

Powered by FUDForum. Page generated in 0.04042 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top