<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Hi:<br><br></div>I have a need to abstract part of the build path name in CMakeCache:  Here is an excerpt <br><br># This is the CMakeCache file.<br># For build in directory: /export/home/xxxxx/x-s12-clone/open-src/xserver/xvnc/unpacked-src<br><br></div>This string is seen 5 times in the cache file.  I need it to look like:<br><br># For build in directory: [DISCOVERD_AT_RUNTIME]/unpacked-src<br><br></div>This is needed because I have to modify the Cache file, and I want to keep the<br></div>modified version, and not try to patch it at build time.  But, it there is a way to<br></div>fill in the front of the build directory name, that will solve a major problem.  We <br></div>use build farms and there is no way to predict what the path name will be prior<br></div>to the build.<br><br></div>I did check the -[D/etc] commands, they don't seem to provide an answer.<br><br></div>Thanks for your help<br><br></div>jc<br><br></div>