mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-23 17:33:12 +00:00
For some reason, with CMake 4.0.3 and the Swift language enabled, this target was getting random tokens in the compile commands. Moving it up to the top of the file seems to fix this.
13 lines
440 B
CMake
13 lines
440 B
CMake
add_library(LibTestMain OBJECT TestMain.cpp AssertionHandler.cpp)
|
|
target_link_libraries(LibTestMain PUBLIC GenericClangPlugin)
|
|
|
|
add_library(JavaScriptTestRunnerMain OBJECT JavaScriptTestRunnerMain.cpp)
|
|
|
|
set(SOURCES
|
|
TestSuite.cpp
|
|
)
|
|
|
|
add_library(LibTest ${SOURCES})
|
|
lagom_generate_export_header(LibTest test)
|
|
target_link_libraries(LibTest PRIVATE AK LibCore LibFileSystem)
|
|
set_target_properties(LibTest PROPERTIES OUTPUT_NAME lagom-test)
|