mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-29 02:11:21 -06:00
7fb8de2204
Several operations was attached to the POST_BUILD custom command of the ResInsight target. The number of characters in this command exceeded the limit on Windows, and error message "line too long" was displayed on GitHub actions. Suggested solution to copy files into build folder - add new target ResInsightDummyTarget used to find full path to build folder - add new target PreBuildFileCopy for file copy - add all copy operations as a list of cmake commands on PreBuildFileCopy
11 lines
373 B
C++
11 lines
373 B
C++
//
|
|
// This empty file is used by ResInsightDummyTarget
|
|
//
|
|
// Creating a dummy target with an empty file is used to have a different target than ResInsight.
|
|
// This target is used to find the full path to the build folder.
|
|
//
|
|
// $<TARGET_FILE_DIR:ResInsightDummyTarget>
|
|
//
|
|
// If we use the ResInsight target ($<TARGET_FILE_DIR:ResInsight>), we get a circular dependency.
|
|
//
|