889367738b
* initial update * CMake updated for civetweb, https working * unused file cleanup * CMake updates to civetweb * minor update, mingw not yet working * CMakeLists updated * fixed for unix builds * cmake updates, console output updated * docs updates * HTTP sample now uses http and https links * civetweb version 1.11 * additional changes * mingw fix * openssl fix * additional ssl configuration * osx workaround * openssl is no longer optional * openssl is optional * civetweb cmakelists updates, URHO3D_SSL=1 set for travis * debug messages removed from SSL/TLS initialization * link libraries with civetweb * code style fixes * cmake updates * DBE_TAG=latest removed
42 lines
1.4 KiB
CMake
42 lines
1.4 KiB
CMake
#
|
|
# Copyright (c) 2008-2020 the Urho3D project.
|
|
#
|
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
# of this software and associated documentation files (the "Software"), to deal
|
|
# in the Software without restriction, including without limitation the rights
|
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
# copies of the Software, and to permit persons to whom the Software is
|
|
# furnished to do so, subject to the following conditions:
|
|
#
|
|
# The above copyright notice and this permission notice shall be included in
|
|
# all copies or substantial portions of the Software.
|
|
#
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
# THE SOFTWARE.
|
|
#
|
|
|
|
if (NOT URHO3D_NETWORK)
|
|
return ()
|
|
endif ()
|
|
|
|
# Define target name
|
|
set (TARGET_NAME 43_HttpRequestDemo)
|
|
|
|
if (URHO3D_SSL)
|
|
add_definitions (-DURHO3D_SSL)
|
|
endif ()
|
|
|
|
# Define source files
|
|
define_source_files (EXTRA_H_FILES ${COMMON_SAMPLE_H_FILES})
|
|
|
|
# Setup target with resource copying
|
|
setup_main_executable ()
|
|
|
|
# Setup test cases
|
|
setup_test ()
|