mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-19 04:09:41 +00:00
Add help menu and about dialog
This commit is contained in:
parent
e0babeaf88
commit
a575fea2bc
7 changed files with 376 additions and 36 deletions
|
@ -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})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue