mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-30 17:07:45 +00:00
Debug and cleaning
This commit is contained in:
parent
e40f98ccda
commit
7077fef33e
6 changed files with 13 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
cmake_minimum_required(VERSION 3.10)
|
||||
project(ochess VERSION "0.0.0")
|
||||
project(ochess VERSION 0.0.0)
|
||||
|
||||
# wxWidgets
|
||||
find_package(wxWidgets COMPONENTS net gl core base adv aui propgrid REQUIRED)
|
||||
|
@ -8,6 +8,8 @@ include(${wxWidgets_USE_FILE})
|
|||
# Ochess
|
||||
include_directories(src)
|
||||
file(GLOB_RECURSE CPP_FILES src/*.cpp)
|
||||
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})
|
||||
target_link_libraries(ochess ${wxWidgets_LIBRARIES})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue