From c95c22155d766c4bcee5983eb7ce9a55434e33aa Mon Sep 17 00:00:00 2001 From: anilbey Date: Thu, 24 Jan 2019 21:30:15 +0100 Subject: [PATCH] created the CMake project #3 --- CMakeLists.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..f949393 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,26 @@ +cmake_minimum_required(VERSION 2.8.4) +project(louvain-community) + +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++03") + +include_directories(./) + +add_executable(community + main_community.cpp + graph_binary.h + community.h + community.cpp + graph_binary.cpp + graph.cpp + graph.h + ) + +add_executable(convert + main_convert.cpp + graph.h + graph.cpp + ) + +add_executable(hierarchy + main_hierarchy.cpp + ) \ No newline at end of file