Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmake_minimum_required(VERSION 3.26)
- project(day2)
- set(CMAKE_CXX_STANDARD 17)
- set(CMAKE_CURRENT_SOURCE_DIR ${PROJECT_SOURCE_DIR})
- set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
- include_directories(${PROJECT_SOURCE_DIR}/ext/include)
- add_executable(
- day2
- main.cpp
- )
- target_link_libraries(${PROJECT_NAME} PRIVATE ${PROJECT_SOURCE_DIR}/ext/lib/Week03_Dynamic.a)
- set(CMAKE_EXE_LINKER_FLAGS "-static")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement