Re: [CMake] crosscompilation and source generation via add_custom_command

2020-02-03 Thread Jędrzej Dudkiewicz
On Mon, Feb 3, 2020 at 9:22 PM Hendrik Sattler wrote: > Am 3. Februar 2020 20:48:50 MEZ schrieb "Jędrzej Dudkiewicz" > : > >Hello, > > > >I cross-compile a project from x86_64-linux-gnu to > >arm-linux-gnueabihf. Currently this is done using hand-written

[CMake] crosscompilation and source generation via add_custom_command

2020-02-03 Thread Jędrzej Dudkiewicz
file that is compiled during build. Is there a way to build and run this binary on x86_64-linux-gnu while cross-compiling to arm-linux-gnuabihf? I suppose I could add_custom_command that would compile using hardcoded compiler version, but it doesn't seem very nice. Thanks in advance, -- Jędrzej Dudki

[CMake] setting rpath in executable in build directory

2019-10-18 Thread Jędrzej Dudkiewicz
I also tried adding -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON , but it changes nothing. Thanks in advance, -- Jędrzej Dudkiewicz I really hate this damn machine, I wish that they would sell it. It never does just what I want, but only what I tell it. -- Powered by www.kitware.com Please keep messages on-topic and