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:
parent
567104607c
commit
a6d83e02d2
6 changed files with 33 additions and 20 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue