CMakeLists.txt 623 B

12345678910111213141516
  1. cmake_minimum_required(VERSION 3.17)
  2. set(PROJECT_NAME ls_std)
  3. project(${PROJECT_NAME})
  4. set(CMAKE_CXX_STANDARD 11)
  5. set(SOURCE_FILES
  6. ${CMAKE_CURRENT_SOURCE_DIR}/source/boxing/Integer.hpp
  7. ${CMAKE_CURRENT_SOURCE_DIR}/source/base/Class.hpp
  8. ${CMAKE_CURRENT_SOURCE_DIR}/source/base/Class.cpp
  9. ${CMAKE_CURRENT_SOURCE_DIR}/source/boxing/Integer.cpp
  10. ${CMAKE_CURRENT_SOURCE_DIR}/source/boxing/IBoxing.hpp
  11. ${CMAKE_CURRENT_SOURCE_DIR}/source/exception/IllegalOperationException.hpp
  12. ${CMAKE_CURRENT_SOURCE_DIR}/source/base/Types.hpp)
  13. add_library(${PROJECT_NAME} ${SOURCE_FILES})