mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 16:17:47 +00:00
LibM: Build and install the LibM test
This test seems to be full of wrong, but at least now we build it and place it in /usr/Tests/LibM/ so that we can fix it.
This commit is contained in:
parent
16a0e7a66d
commit
9d471ea923
3 changed files with 18 additions and 9 deletions
8
Userland/Tests/LibM/CMakeLists.txt
Normal file
8
Userland/Tests/LibM/CMakeLists.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
file(GLOB CMD_SOURCES CONFIGURE_DEPENDS "*.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/LibM)
|
||||
endforeach()
|
Loading…
Add table
Add a link
Reference in a new issue