Opened 9 years ago

Last modified 20 months ago

#47579 new enhancement

cmake portgroup: an option to specify non-default location of CMakeLists.txt

Reported by: mojca (Mojca Miklavec) Owned by: larryv (Lawrence Velázquez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: portgroup Cc: michaelld (Michael Dickens), ryandesign (Ryan Carsten Schmidt)
Port:

Description

I came across a port (submission) where CMakeLists.txt is not in the top dir (#38921). As a consequence one must introduce a fix like this one:

configure.post_args ${worksrcpath}/build

(or change a bunch of other variables to achieve the same goal).

While I consider this to be some kind of a "bug", it would be nice if we had some explicit setting rather than having to overwrite configure.post_args (even though both would currently achieve the same).

Now that you have already introduced a new option (r134128) like

  • cmake.build_dir

would it perhaps make sense to add also cmake.<someother>_dir to denote the directory where CMakeLists.txt is located in case it's not default?

Change History (1)

comment:1 Changed 20 months ago by mascguy (Christopher Nielsen)

Keywords: portgroup added

Add keyword portgroup, to pg-related tickets

Note: See TracTickets for help on using tickets.