cleanup
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
# CMakeList.txt : Top-level CMake project file, do global configuration
|
||||||
|
# and include sub-projects here.
|
||||||
|
#
|
||||||
|
cmake_minimum_required (VERSION 3.8)
|
||||||
|
|
||||||
|
project ("FC-Chess")
|
||||||
|
|
||||||
|
# Include sub-projects.
|
||||||
|
add_subdirectory ("FC-Chess")
|
||||||
@@ -1,9 +1,13 @@
|
|||||||
# CMakeList.txt : Top-level CMake project file, do global configuration
|
# CMakeList.txt : CMake project for FC-Chess, include source and define
|
||||||
# and include sub-projects here.
|
# project specific logic here.
|
||||||
#
|
#
|
||||||
cmake_minimum_required (VERSION 3.8)
|
cmake_minimum_required (VERSION 3.8)
|
||||||
|
|
||||||
project ("FC-Chess")
|
# Add source to this project's executable.
|
||||||
|
add_executable (FC-Chess "main.cpp" "fc-chess.cpp" "graphics.cpp")
|
||||||
|
|
||||||
# Include sub-projects.
|
if (CMAKE_VERSION VERSION_GREATER 3.12)
|
||||||
add_subdirectory ("FC-Chess")
|
set_property(TARGET FC-Chess PROPERTY CXX_STANDARD 20)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# TODO: Add tests and install targets if needed.
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
# CMakeList.txt : CMake project for FC-Chess, include source and define
|
|
||||||
# project specific logic here.
|
|
||||||
#
|
|
||||||
cmake_minimum_required (VERSION 3.8)
|
|
||||||
|
|
||||||
# Add source to this project's executable.
|
|
||||||
add_executable (FC-Chess "main.cpp" "fc-chess.cpp" "graphics.cpp")
|
|
||||||
|
|
||||||
if (CMAKE_VERSION VERSION_GREATER 3.12)
|
|
||||||
set_property(TARGET FC-Chess PROPERTY CXX_STANDARD 20)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# TODO: Add tests and install targets if needed.
|
|
||||||
Reference in New Issue
Block a user