1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:48:10 +00:00

Meta: Define and use lagom_tool() CMake helper function for all Tools

We'll use this to prevent repeating common tool dependencies. They all
depend on LibCore and AK only. We also want to encapsulate common
install rules for them.
This commit is contained in:
Andrew Kaster 2021-09-06 23:34:28 -06:00 committed by Ali Mohammad Pur
parent 567104607c
commit a6d83e02d2
6 changed files with 33 additions and 20 deletions

View file

@ -1,5 +1,11 @@
add_executable(GenerateUnicodeData GenerateUnicodeData.cpp)
target_link_libraries(GenerateUnicodeData LagomCore)
set(SOURCES
GenerateUnicodeData.cpp
)
add_executable(GenerateUnicodeLocale GenerateUnicodeLocale.cpp)
target_link_libraries(GenerateUnicodeLocale LagomCore)
lagom_tool(GenerateUnicodeData)
set(SOURCES
GenerateUnicodeLocale.cpp
)
lagom_tool(GenerateUnicodeLocale)