From f3956d699b29dac4bb0808b38b83dd5d05f51975 Mon Sep 17 00:00:00 2001 From: CJ Date: Sat, 20 Apr 2024 09:47:35 +0800 Subject: [PATCH] Add CMakeLists.txt for project configuration and build setup --- CMakeLists.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..0e5c345 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,17 @@ +cmake_minimum_required(VERSION 3.14) + +set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD_REQUIRED ON) + +project(hungarian-algorithm) + +include_directories(${PROJECT_SOURCE_DIR}) + +add_library(hungarian-algorithm ./Hungarian.cpp) + +add_executable(tests testMain.cpp) +target_link_libraries(tests hungarian-algorithm) + +enable_testing() +include(CTest) +add_test(NAME tests COMMAND tests) \ No newline at end of file pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy