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
commit a6d83e02d2
Notes: sideshowbarker 2024-07-18 03:56:24 +09:00
6 changed files with 33 additions and 20 deletions

View file

@ -2,5 +2,4 @@ set(SOURCES
main.cpp
)
add_executable(StateMachineGenerator ${SOURCES})
target_link_libraries(StateMachineGenerator LagomCore)
lagom_tool(StateMachineGenerator)