Mercurial > minori
view dep/anitomy/CMakeLists.txt @ 68:2417121d894e
*: normalize usage of layouts
before, I used them two ways, once was by setting the layout later
by using setLayout(QWidget), and the other was just using the constructor.
I find the constructor to be easier to read, so I chose that one.
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Mon, 02 Oct 2023 21:33:25 -0400 |
parents | 5c0397762b53 |
children | 893ad99b174d |
line wrap: on
line source
cmake_minimum_required(VERSION 3.9) project(anitomy) add_library(anitomy SHARED anitomy/anitomy.cpp anitomy/element.cpp anitomy/keyword.cpp anitomy/parser.cpp anitomy/parser_helper.cpp anitomy/parser_number.cpp anitomy/string.cpp anitomy/token.cpp anitomy/tokenizer.cpp ) set_target_properties(anitomy PROPERTIES PUBLIC_HEADER anitomy/anitomy.h) target_include_directories(anitomy PRIVATE src)