Pass source directory to CMake

12 views
Skip to first unread message

Ali Ghorashi

unread,
May 1, 2024, 8:59:38 AM5/1/24
to cmake4eclipse user mailing list
Is there a way to pass the location of the source directory to CMake via cmake4eclipse? I have my CMakeLists.txt one directory below the top of my project and I'd like to specify a different CMakeList for each build configuration.

Thanks

Martin Weber

unread,
May 2, 2024, 1:38:53 PM5/2/24
to cmake4ecl...@googlegroups.com
Am Mittwoch, 1. Mai 2024, 00:40:06 CEST schrieb Ali Ghorashi:
> Is there a way to pass the location of the source directory to CMake via
> cmake4eclipse? I have my CMakeLists.txt one directory below the top of my

You can find it in the project proeprties at the Cmake4eclipse Build | Project
Settings tab


--
Cd wrttn wtht vwls s mch trsr.




Reply all
Reply to author
Forward
0 new messages