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
578 B
CMake
14 lines
578 B
CMake
#############################################################################
|
|
# Name: build/cmake/lib/xml/CMakeLists.txt
|
|
# Purpose: CMake file for xml library
|
|
# Author: Tobias Taschner
|
|
# Created: 2016-09-20
|
|
# Copyright: (c) 2016 wxWidgets development team
|
|
# Licence: wxWindows licence
|
|
#############################################################################
|
|
|
|
wx_append_sources(XML_FILES XML)
|
|
wx_add_library(wxxml IS_BASE ${XML_FILES})
|
|
wx_lib_link_libraries(wxxml PRIVATE ${EXPAT_LIBRARIES})
|
|
wx_lib_include_directories(wxxml ${EXPAT_INCLUDE_DIRS})
|