summaryrefslogtreecommitdiff
path: root/Meta/Lagom/Tools/CodeGenerators/LibUnicode
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2021-09-06 23:34:28 -0600
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-09-15 19:04:52 +0430
commita6d83e02d2b641f9e7e86cb9029f7716dfdd562f (patch)
tree06f2a64681c5ddd1b349229327cb95d426c802ef /Meta/Lagom/Tools/CodeGenerators/LibUnicode
parent567104607c3bca6d2d7ca513317a5076c969b9ec (diff)
downloadserenity-a6d83e02d2b641f9e7e86cb9029f7716dfdd562f.zip
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.
Diffstat (limited to 'Meta/Lagom/Tools/CodeGenerators/LibUnicode')
-rw-r--r--Meta/Lagom/Tools/CodeGenerators/LibUnicode/CMakeLists.txt14
1 files changed, 10 insertions, 4 deletions
diff --git a/Meta/Lagom/Tools/CodeGenerators/LibUnicode/CMakeLists.txt b/Meta/Lagom/Tools/CodeGenerators/LibUnicode/CMakeLists.txt
index 5fa68e5674..6b7ce96fc6 100644
--- a/Meta/Lagom/Tools/CodeGenerators/LibUnicode/CMakeLists.txt
+++ b/Meta/Lagom/Tools/CodeGenerators/LibUnicode/CMakeLists.txt
@@ -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)