Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Antwort: [Newsletter] Re: CMake support in Eclipse CDT

How does CMake know the path? Is it derived from the path of the current CMakeLists file (I.e. not the one with the macro in it?)

From: <cdt-dev-bounces@xxxxxxxxxxx> on behalf of Axel Müller <axel.carl.mueller@xxxxxxxxx>
Reply-To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Date: Wednesday, December 9, 2015 at 10:57 AM
To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Subject: Re: [cdt-dev] Antwort: [Newsletter] Re: CMake support in Eclipse CDT

You will get the name of the target but you will not get the path. cmake --trace will only show the path to the cmake file where the macro is defined. Please note, that your build tree can have several targets and they can have identical names but reside in different paths!
  
   Axel

2015-12-09 16:24 GMT+01:00 Doug Schaefer <dschaefer@xxxxxxx>:
You mean cmake --trace doesn’t show it if add_executable is in a macro? 

Back to the top