mirror of
https://github.com/RGBCube/serenity
synced 2025-05-26 01:55:08 +00:00
8 lines
318 B
CMake
8 lines
318 B
CMake
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/UserEmulator)
|
|
endforeach()
|