fixed CMakeLists.txt

This commit is contained in:
jkriege2 2022-08-22 17:36:49 +02:00
parent 8993b5ad8d
commit 6c8d517f44
3 changed files with 23 additions and 16 deletions

View File

@ -39,6 +39,8 @@ set(HEADERS
$<INSTALL_INTERFACE:jkqtcommon_imexport.h>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/jkqtpdebuggingtools.h>
$<INSTALL_INTERFACE:jkqtpdebuggingtools.h>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/jkqtpmathtools.h>
$<INSTALL_INTERFACE:jkqtpmathtools.h>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/jkqtpstringtools.h>
$<INSTALL_INTERFACE:jkqtpstringtools.h>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/jkqtpcodestructuring.h>
@ -55,6 +57,8 @@ set(HEADERS
$<INSTALL_INTERFACE:jkqttools.h>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/jkqtpicons.h>
$<INSTALL_INTERFACE:jkqtpicons.h>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/jkqtpgeometrytools.h>
$<INSTALL_INTERFACE:jkqtpgeometrytools.h>
)
include(CMakePackageConfigHelpers)

View File

@ -36,6 +36,8 @@ set(SOURCES
set(HEADERS
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/jkqtcommon_statistics_and_math_imexport.h>
$<INSTALL_INTERFACE:jkqtcommon_statistics_and_math_imexport.h>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/jkqtpalgorithms.h>
$<INSTALL_INTERFACE:jkqtpalgorithms.h>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/jkqtplinalgtools.h>
$<INSTALL_INTERFACE:jkqtplinalgtools.h>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/jkqtpmathparser.h>

View File

@ -25,6 +25,18 @@ set(SOURCES
${CMAKE_CURRENT_LIST_DIR}/jkqtmathtexttools.cpp
${CMAKE_CURRENT_LIST_DIR}/jkqtmathtextlabel.cpp
)
set(HEADERS
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/jkqtmathtext.h>
$<INSTALL_INTERFACE:jkqtmathtext.h>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/jkqtmathtexttools.h>
$<INSTALL_INTERFACE:jkqtmathtexttools.h>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/jkqtmathtextlabel.h>
$<INSTALL_INTERFACE:jkqtmathtextlabel.h>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/jkqtmathtext_imexport.h>
$<INSTALL_INTERFACE:jkqtmathtext_imexport.h>
)
set(SOURCES_NODES
${CMAKE_CURRENT_LIST_DIR}/nodes/jkqtmathtextnode.cpp
${CMAKE_CURRENT_LIST_DIR}/nodes/jkqtmathtexttextnode.cpp
@ -46,22 +58,6 @@ set(SOURCES_NODES
${CMAKE_CURRENT_LIST_DIR}/nodes/jkqtmathtextverbatimnode.cpp
)
set(SOURCES_PARSERS
${CMAKE_CURRENT_LIST_DIR}/parsers/jkqtmathtextparser.cpp
${CMAKE_CURRENT_LIST_DIR}/parsers/jkqtmathtextlatexparser.cpp
)
set(HEADERS
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/jkqtmathtext.h>
$<INSTALL_INTERFACE:jkqtmathtext.h>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/jkqtmathtexttools.h>
$<INSTALL_INTERFACE:jkqtmathtexttools.h>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/jkqtmathtextlabel.h>
$<INSTALL_INTERFACE:jkqtmathtextlabel.h>
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/jkqtmathtext_imexport.h>
$<INSTALL_INTERFACE:jkqtmathtext_imexport.h>
)
set(HEADERS_NODES
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/nodes/jkqtmathtextnode.h>
$<INSTALL_INTERFACE:nodes/jkqtmathtextnode.h>
@ -104,6 +100,11 @@ set(HEADERS_NODES
)
set(SOURCES_PARSERS
${CMAKE_CURRENT_LIST_DIR}/parsers/jkqtmathtextparser.cpp
${CMAKE_CURRENT_LIST_DIR}/parsers/jkqtmathtextlatexparser.cpp
)
set(HEADERS_PARSERS
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/parsers/jkqtmathtextparser.h>
$<INSTALL_INTERFACE:parsers/jkqtmathtextparser.h>