CMakeLists.txt 402 B

12345678910111213141516
  1. serenity_install_sources("Userland/Libraries/LibTest")
  2. set(SOURCES
  3. TestSuite.cpp
  4. CrashTest.cpp
  5. )
  6. serenity_lib(LibTest test)
  7. add_library(LibTestMain OBJECT TestMain.cpp)
  8. add_library(JavaScriptTestRunnerMain OBJECT JavaScriptTestRunnerMain.cpp)
  9. if (SERENITYOS)
  10. add_dependencies(LibTestMain install_libc_headers)
  11. add_dependencies(JavaScriptTestRunnerMain install_libc_headers)
  12. endif()