From 2acd4830d71715054338126d7968762b0bf06cf6 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 25 Sep 2018 01:38:56 +0800 Subject: Develop ci. --- CruUI/CMakeLists.txt | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 CruUI/CMakeLists.txt (limited to 'CruUI') diff --git a/CruUI/CMakeLists.txt b/CruUI/CMakeLists.txt new file mode 100644 index 00000000..5384b113 --- /dev/null +++ b/CruUI/CMakeLists.txt @@ -0,0 +1,33 @@ +cmake_minimum_required(VERSION 3.12) +project(CruUI) + +if (MSVC_VERSION GREATER_EQUAL "1900") + include(CheckCXXCompilerFlag) + CHECK_CXX_COMPILER_FLAG("/std:c++latest" _cpp_latest_flag_supported) + if (_cpp_latest_flag_supported) + add_compile_options("/std:c++latest") + endif() +endif() + +include_directories(.) + +add_executable(CruUI + graph/graph.cpp + ui/animations/animation.cpp + ui/controls/button.cpp + ui/controls/linear_layout.cpp + ui/controls/margin_container.cpp + ui/controls/text_block.cpp + ui/controls/text_box.cpp + ui/controls/text_control.cpp + ui/controls/toggle_button.cpp + ui/events/ui_event.cpp + ui/control.cpp + ui/layout_base.cpp + ui/ui_base.cpp + ui/window.cpp + application.cpp + base.cpp + exception.cpp + main.cpp + timer.cpp) -- cgit v1.2.3