This will add source groups to all projects, not only libraries. And there is no need anymore to include it in every project file.
14 lines
544 B
CMake
14 lines
544 B
CMake
#############################################################################
|
|
# Name: build/cmake/lib/richtext/CMakeLists.txt
|
|
# Purpose: CMake file for richtext library
|
|
# Author: Tobias Taschner
|
|
# Created: 2016-10-04
|
|
# Copyright: (c) 2016 wxWidgets development team
|
|
# Licence: wxWindows licence
|
|
#############################################################################
|
|
|
|
wx_append_sources(RICHTEXT_FILES RICHTEXT)
|
|
|
|
wx_add_library(wxrichtext ${RICHTEXT_FILES})
|
|
wx_lib_link_libraries(wxrichtext PRIVATE wxhtml wxxml)
|