From a575fea2bc094831996c47a6a84497b964a90e02 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Wed, 1 Feb 2023 21:15:11 +0100 Subject: Add help menu and about dialog --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 1dbfe5b..f14f27a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,12 +2,13 @@ cmake_minimum_required(VERSION 3.10) project(ochess VERSION 0.0.0) # wxWidgets -find_package(wxWidgets COMPONENTS net gl core base adv aui propgrid REQUIRED) +find_package(wxWidgets COMPONENTS net gl core base adv aui propgrid richtext REQUIRED) include(${wxWidgets_USE_FILE}) # Ochess include_directories(src) file(GLOB_RECURSE CPP_FILES src/*.cpp) +string(TIMESTAMP BUILD_TIME "%Y-%m-%d %H:%M") configure_file(${CMAKE_SOURCE_DIR}/src/config.h.in ${CMAKE_BINARY_DIR}/config.h) include_directories(${CMAKE_CURRENT_BINARY_DIR}) # Enable access to config.h add_executable(ochess ${CPP_FILES}) -- cgit v1.2.3