mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:27:35 +00:00
Tests: Build automatically, fix compilation errors
This commit is contained in:
parent
538b985487
commit
29eceebdbf
21 changed files with 31 additions and 1 deletions
10
Userland/Tests/LibC/CMakeLists.txt
Normal file
10
Userland/Tests/LibC/CMakeLists.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
file(GLOB CMD_SOURCES "*.cpp")
|
||||
|
||||
foreach(CMD_SRC ${CMD_SOURCES})
|
||||
get_filename_component(CMD_NAME ${CMD_SRC} NAME_WE)
|
||||
add_executable(${CMD_NAME} ${CMD_SRC})
|
||||
target_link_libraries(${CMD_NAME} LibCore)
|
||||
install(TARGETS ${CMD_NAME} RUNTIME DESTINATION usr/Tests/LibC)
|
||||
endforeach()
|
||||
|
||||
#target_link_libraries(foobar LibPthread)
|
Loading…
Add table
Add a link
Reference in a new issue