2024-03-08 15:25:16 +08:00
|
|
|
cmake_minimum_required(VERSION 3.8)
|
|
|
|
project(cppbase)
|
|
|
|
|
|
|
|
set(CMAKE_CXX_STANDARD 11)
|
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/structure)
|
|
|
|
add_subdirectory(STL)
|
|
|
|
add_executable(cppbase
|
|
|
|
"main.cpp" "grammar/grammar.cpp"
|
|
|
|
"grammar/grammar.h" "algorithm/CAlgorithm.cpp" "algorithm/CAlgorithm.h"
|
|
|
|
)
|
|
|
|
add_executable(algorithm_bin "algrorithm.cpp" "algorithm/ABasic.cpp" "algorithm/ABasic.h")
|
2024-03-14 10:16:04 +08:00
|
|
|
add_executable(object_bin "object.cpp"
|
|
|
|
"src/verify.h" "src/verify.cpp"
|
|
|
|
"ex_object.h" "ex_object.cpp"
|
|
|
|
)
|