Re: SCons for Ansys APDL Analysis

Mats Wichmann <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <[email protected]>
On 10/17/22 12:02, Hubley, Christopher (GE Aerospace, US) wrote:

> I've got a couple of goals:
> 
> * Generate results in a separate directory from source code
>    (I think that this requires copying the source into target directory and
>     removing it after compiling)

Zeroing in just on this one piece: SCons has support for this via a 
concept called a "variant directory", which is a shadow of your source 
directory (created either using links/copies, or by doing beind the 
covers path fiddling, depending on options you select). You build in the 
variant directory, leaving the results there, if you selected the 
non-copying option, the sources won't be left there.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.