Add CMake build system

Add CMake build system for libraries, tests and samples
update_files.py converts build/files into CMake format.
build/update-setup-h has been modified to update build/cmake/setup.h.in.
This commit is contained in:
Tobias Taschner
2016-09-25 22:19:39 +02:00
parent ee197fd913
commit da2b8ea812
55 changed files with 13376 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#############################################################################
# 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()
wx_exe_link_libraries(wxrc xml base)
# TODO: install
set_target_properties(wxrc PROPERTIES FOLDER "Utilities")
endif()
# TODO: build targets for other utils