2016-09-25 16:19:39 -04:00
|
|
|
#############################################################################
|
|
|
|
# Name: build/cmake/utils/CMakeLists.txt
|
|
|
|
# Purpose: CMake script for utilities
|
|
|
|
# Author: Tobias Taschner
|
|
|
|
# Created: 2016-10-21
|
|
|
|
# Copyright: (c) 2016 wxWidgets development team
|
|
|
|
# Licence: wxWindows licence
|
|
|
|
#############################################################################
|
|
|
|
|
|
|
|
if(wxUSE_XRC)
|
|
|
|
add_executable(wxrc "${wxSOURCE_DIR}/utils/wxrc/wxrc.cpp")
|
|
|
|
wx_set_common_target_properties(wxrc)
|
|
|
|
if(wxBUILD_SHARED)
|
|
|
|
target_compile_definitions(wxrc PRIVATE WXUSINGDLL)
|
|
|
|
endif()
|
2018-01-19 18:55:43 -05:00
|
|
|
if(wxUSE_XML)
|
|
|
|
wx_exe_link_libraries(wxrc xml)
|
|
|
|
endif()
|
|
|
|
wx_exe_link_libraries(wxrc base)
|
2016-09-25 16:19:39 -04:00
|
|
|
# TODO: install
|
|
|
|
set_target_properties(wxrc PROPERTIES FOLDER "Utilities")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
# TODO: build targets for other utils
|