GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — phylo2vec_cpp/CMakeLists.txt at main · Neclow/phylo2vec_cpp
This repository was archived by the owner on Apr 22, 2025. It is now read-only.
Expand file tree/ Copy pathCMakeLists.txtMore file actions 62 lines (48 loc) · 1.44 KB / Copy pathCMakeLists.txtFile metadata and controls62 lines (48 loc) · 1.44 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 cmake_minimum_required(VERSION 3.22.1) project(phylo2vec) # GoogleTest requires at least C++14 set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON) # Include Google Test using FetchContent include(FetchContent) FetchContent_Declare( googletest GIT_REPOSITORY https://github.com/google/googletest.git GIT_TAG release-1.11.0 # dpkg -l libgtest-dev ) FetchContent_MakeAvailable(googletest) # Include cxxopts using FetchContent FetchContent_Declare( cxxopts GIT_REPOSITORY https://github.com/jarro2783/cxxopts.git GIT_TAG v3.1.1 ) FetchContent_MakeAvailable(cxxopts) # # Find OpenMP package # find_package(OpenMP REQUIRED) # # Set compiler flags for OpenMP # set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}") # Source files set(SOURCES src/phylo2vec.cpp src/main.cpp ) # Test set(TEST_SOURCES src/phylo2vec.cpp test/phylo2vec_test.cpp ) # Main executable add_executable(phylo2vec ${SOURCES}) # Include directories target_include_directories(phylo2vec PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src) # Link against cxxopts target_link_libraries(phylo2vec PRIVATE cxxopts::cxxopts) ## OpenMP::OpenMP_CXX) # Test executable add_executable(phylo2vec_test ${TEST_SOURCES}) # Link against Google Test and Google Mock target_link_libraries(phylo2vec_test PRIVATE gtest_main) # Optionally, add a test target (for running tests using CTest) # include(CTest) # Add tests add_test(NAME phylo2vec_test COMMAND phylo2vec_test) |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |