mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add separate target for unit tests for easier test access. Remove unit tests from ResInsight application. (#11184)
Clean up cmake configuration a bit, and pull down gtest when needed, no longer use a thirdparty subfolder Add a ResInsight-tests target to run the unit tests
This commit is contained in:
10
ApplicationLibCode/UnitTests/empty.cpp
Normal file
10
ApplicationLibCode/UnitTests/empty.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
//
|
||||
// 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.
|
||||
//
|
||||
Reference in New Issue
Block a user