mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:17:45 +00:00
Build: Switch to CMake :^)
Closes https://github.com/SerenityOS/serenity/issues/2080
This commit is contained in:
parent
49727ffee4
commit
450a2a0f9c
236 changed files with 1774 additions and 2337 deletions
8
Kernel/Modules/CMakeLists.txt
Normal file
8
Kernel/Modules/CMakeLists.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
set(CMAKE_CXX_OUTPUT_EXTENSION_REPLACE 1)
|
||||
|
||||
function(serenity_kernel_module name sources)
|
||||
add_library(${name} STATIC ${sources})
|
||||
install(FILES $<TARGET_OBJECTS:${name}> DESTINATION mod)
|
||||
endfunction()
|
||||
|
||||
serenity_kernel_module(TestModule TestModule.cpp)
|
Loading…
Add table
Add a link
Reference in a new issue