Different location/path of CMakeLists.txt

19 views
Skip to first unread message

leomeror

unread,
Apr 7, 2022, 9:28:30 AM4/7/22
to cmake4eclipse user mailing list
Hello,

I want to integrate a CMake project into Eclipse.
Unfortunately the developers of that project have put their CMakeLists.txt file into the folder called cmake, instead of leaving it at root level. The CMakeLists.txt file is also written such that it depends on this specific location.
I assume they had built their project by using the -S and -B properties of the cmake command in the terminal to specify the location of CMakeLists.txt.
Is there a way to tell the cmake4eclipse plugin to look for the CMakeLists.txt file in a different folder?

Thanks in advance,
Leon

Martin Weber

unread,
Apr 7, 2022, 3:19:28 PM4/7/22
to cmake4ecl...@googlegroups.com
Am Donnerstag, 7. April 2022, 15:28:30 CEST schrieb 'leomeror' via
cmake4eclipse user mailing list:
cmake4eclipse looks for the CMakeLists.txt file in the source folder. It can
be changed in the 'Source Location' tab.

/Martin


--
Cd wrttn wtht vwls s mch trsr.




Reply all
Reply to author
Forward
0 new messages