用于存放学校的作业便于复习。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
402 B

  1. cmake_minimum_required(VERSION 3.9)
  2. project(chapter5)
  3. # set(CMAKE_CXX_STANDARD 11)
  4. # include_directories(
  5. # include
  6. # )
  7. add_executable(bitree
  8. main.cpp)
  9. SET(EXECUTABLE_OUTPUT_PATH R:/)
  10. if (CMAKE_BUILD_TYPE STREQUAL Release)
  11. # # 也可以set(CMAKE_CXX_FLAGS_RELEASE ...)
  12. set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -fexec-charset=GBK")
  13. endif()
  14. target_link_libraries(bitree)