Changeset View
Changeset View
Standalone View
Standalone View
tools/CMakeLists.txt
1 | 1 | | |||
---|---|---|---|---|---|
2 | ### Line graphics font | 2 | ### Line graphics font | ||
3 | ### Attempting to auto-create LineFont.h for multiple systems is a headache. | 3 | ### Attempting to auto-create LineFont.h for multiple systems is a headache. | ||
4 | ### If LineFont.h is needed to be recreated use: | 4 | ### If LineFont.h is needed to be recreated use: | ||
5 | ### fontembedder LineFont.src > LineFont.h | 5 | ### fontembedder LineFont.src > LineFont.h | ||
6 | ### Then commit the new LineFont.h | 6 | ### Then commit the new LineFont.h | ||
7 | 7 | | |||
8 | find_package(Qt5Core ${QT_MIN_VERSION} CONFIG REQUIRED) | 8 | find_package(Qt5Core ${QT_MIN_VERSION} CONFIG REQUIRED) | ||
9 | 9 | | |||
10 | ### Font Embedder | 10 | ### Font Embedder | ||
11 | set(fontembedder_SRCS fontembedder.cpp) | 11 | set(fontembedder_SRCS fontembedder.cpp) | ||
12 | add_executable(fontembedder ${fontembedder_SRCS}) | 12 | add_executable(fontembedder ${fontembedder_SRCS}) | ||
13 | qt5_use_modules(fontembedder Core) | 13 | target_link_libraries(fontembedder Qt5::Core) | ||
14 | 14 | |