Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaofeng-shu33 committed Oct 4, 2019
2 parents 359099b + 1b8440e commit 77b3759
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ if(ENABLE_TESTING)
find_package(GTest REQUIRED)
find_package(Threads REQUIRED)
add_executable(test_alg test.cpp)
target_link_libraries(test_alg lemontc ${GTEST_MAIN_LIBRARY} ${GTEST_LIBRARY} Threads::Threads)
target_link_libraries(test_alg lemontc GTest::GTest GTest::Main Threads::Threads)
add_test(NAME test_alg COMMAND test_alg)
endif()
6 changes: 3 additions & 3 deletions doc/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ PROJECT_LOGO =
# entered, it will be relative to the location where doxygen was started. If
# left blank the current directory will be used.

OUTPUT_DIRECTORY =
OUTPUT_DIRECTORY = ../build

# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub-
# directories (in 2 levels) under the output directory of each output format and
Expand Down Expand Up @@ -791,7 +791,7 @@ WARN_LOGFILE =
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
# Note: If this tag is empty the current directory is searched.

INPUT =
INPUT = ../lemontc

# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
Expand Down Expand Up @@ -2157,7 +2157,7 @@ SKIP_FUNCTION_MACROS = YES
# the path). If a tag file is not located in the directory in which doxygen is
# run, you must also specify the path to the tagfile here.

TAGFILES =
TAGFILES = "../build/lemon.tag = http://lemon.cs.elte.hu/pub/doc/latest"

# When a file name is specified after GENERATE_TAGFILE, doxygen will create a
# tag file that is based on the input files it reads. See section "Linking to
Expand Down
4 changes: 4 additions & 0 deletions lemontc/config.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
// Copyright 2019 zhaofeng-shu33
/** \file config.h
* lemon triangle counter configuration header
*/
#pragma once
#include <lemon/static_graph.h>
namespace lemon {
//! \typedef Graph
typedef StaticDigraph Graph;
}
1 change: 1 addition & 0 deletions lemontc/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "lemontc/config.h"

namespace lemon {
//! construct the static graph from given arc list
void construct_graph_from_arclist(Graph* G,
const std::vector<std::pair<int, int> >& arcs, int node_size);
std::pair<int, int> read_binfile_to_arclist(const char* file_name,
Expand Down

0 comments on commit 77b3759

Please sign in to comment.