diff options
author | Lenny Maiorani <lenny@colorado.edu> | 2020-10-09 16:22:29 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-12-23 20:51:29 +0100 |
commit | 8e1af483bed41e49632e9ff88fbed46e0e16b12f (patch) | |
tree | 2832a80085de529d8a4588806cae4cb3932d3476 /AK/Tests | |
parent | 51713901b1ffba2f93df34f2ce736d810e75cba2 (diff) | |
download | serenity-8e1af483bed41e49632e9ff88fbed46e0e16b12f.zip |
CMake: Remove file globbing in AK/Tests
Problem:
- File globbing is performed at the time of build system
generation. Any files which are not there at that time are not
included. So, when a new file is added it is not built unless the
build system is recreated.
Solution:
- Remove globbing from AK/Tests directory in favor of explicitly
listing the files.
Diffstat (limited to 'AK/Tests')
-rw-r--r-- | AK/Tests/CMakeLists.txt | 42 |
1 files changed, 41 insertions, 1 deletions
diff --git a/AK/Tests/CMakeLists.txt b/AK/Tests/CMakeLists.txt index 07f9fc4f0f..675e2a4b64 100644 --- a/AK/Tests/CMakeLists.txt +++ b/AK/Tests/CMakeLists.txt @@ -1,4 +1,44 @@ -file(GLOB AK_TEST_SOURCES CONFIGURE_DEPENDS "*.cpp") +set(AK_TEST_SOURCES + TestAllOf.cpp + TestArray.cpp + TestAtomic.cpp + TestBase64.cpp + TestBinarySearch.cpp + TestBitmap.cpp + TestByteBuffer.cpp + TestChecked.cpp + TestCircularDeque.cpp + TestCircularDuplexStream.cpp + TestCircularQueue.cpp + TestDistinctNumeric.cpp + TestEndian.cpp + TestFormat.cpp + TestHashFunctions.cpp + TestHashMap.cpp + TestIPv4Address.cpp + TestJSON.cpp + TestLexicalPath.cpp + TestMACAddress.cpp + TestMemMem.cpp + TestMemoryStream.cpp + TestNeverDestroyed.cpp + TestNonnullRefPtr.cpp + TestNumberFormat.cpp + TestOptional.cpp + TestQueue.cpp + TestQuickSort.cpp + TestRefPtr.cpp + TestSourceGenerator.cpp + TestSpan.cpp + TestString.cpp + TestStringUtils.cpp + TestStringView.cpp + TestTypedTransfer.cpp + TestURL.cpp + TestUtf8.cpp + TestVector.cpp + TestWeakPtr.cpp +) foreach(source ${AK_TEST_SOURCES}) get_filename_component(name ${source} NAME_WE) |