Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
cse3150-grading/CMakeLists.txt
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
20 lines (15 sloc)
631 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.10.2) | |
set(CMAKE_CXX_STANDARD 14) | |
set(CMAKE_CXX_STANDARD_REQUIRED ON) | |
set(CMAKE_CXX_EXTENSIONS OFF) | |
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) | |
# Disable test compilation for the optional tl library. | |
set(OPTIONAL_ENABLE_TESTS OFF CACHE INTERNAL "Enable tl::optional tests") | |
include_directories(includes) | |
add_subdirectory(external/Catch2) | |
add_subdirectory(external/cppast) | |
add_subdirectory(external/optional) | |
add_executable(asgn1 src/asgn1/main.cpp) | |
target_link_libraries(asgn1 Catch2) | |
add_executable(asgn2 src/asgn2/main.cpp) | |
target_link_libraries(asgn2 Catch2 cppast optional) |