gravatar
ladanyi@tmit.bme.hu
ladanyi@tmit.bme.hu
CMake based build system
6 1 4
default
11 files changed with 49 insertions and 12 deletions:
↑ Collapse diff ↑
Ignore white space 6 line context
1
project (LEMON)
2
enable_testing ()
3
add_subdirectory (lemon)
4
add_subdirectory (demo)
5
add_subdirectory (test)
Ignore white space 6 line context
1
include_directories (${LEMON_SOURCE_DIR})
2

	
3
link_directories (${LEMON_BINARY_DIR}/lemon)
4

	
5
set (DEMOS
6
  arg_parser_demo
7
  graph_to_eps_demo
8
  lgf_demo)
9

	
10
foreach (DEMO_NAME ${DEMOS})
11
  add_executable (${DEMO_NAME} ${DEMO_NAME}.cc)
12
  target_link_libraries (${DEMO_NAME} lemon)
13
  endforeach (DEMO_NAME)
Ignore white space 6 line context
1
include_directories (${LEMON_SOURCE_DIR})
2
add_library (lemon arg_parser.cc base.cc color.cc random.cc)
Ignore white space 6 line context
1
include_directories (${LEMON_SOURCE_DIR})
2

	
3
link_directories (${LEMON_BINARY_DIR}/lemon)
4

	
5
set (TESTS
6
  bfs_test
7
  counter_test
8
  dfs_test
9
  digraph_test
10
  dim_test
11
  error_test
12
  graph_test
13
  kruskal_test
14
  maps_test
15
  random_test
16
  path_test
17
  time_measure_test
18
  unionfind_test)
19

	
20
foreach (TEST_NAME ${TESTS})
21
  add_executable (${TEST_NAME} ${TEST_NAME}.cc)
22
  target_link_libraries (${TEST_NAME} lemon)
23
  add_test(${TEST_NAME} ${TEST_NAME})
24
endforeach (TEST_NAME)
Ignore white space 6 line context
1 1
syntax: glob
2 2
*.obj
3 3
*.orig
4 4
*.rej
5 5
*~
6 6
*.o
7 7
*.log
8 8
*.lo
9 9
*.tar.*
10 10
Makefile.in
11 11
aclocal.m4
12 12
config.h.in
13 13
configure
14 14
Makefile
15 15
config.h
16 16
config.log
17 17
config.status
18 18
libtool
19 19
stamp-h1
20 20
lemon/lemon.pc
21 21
lemon/libemon.la
22 22
lemon/stamp-h2
23 23
doc/Doxyfile
24 24
.dirstamp
25 25
.libs/*
26 26
.deps/*
27 27
demo/*.eps
28 28

	
29 29
syntax: regexp
30 30
(.*/)?\#[^/]*\#$
31 31
^doc/html/.*
32 32
^autom4te.cache/.*
33 33
^build-aux/.*
34 34
^objs.*/.*
35 35
^test/[a-z_]*$
36 36
^demo/.*_demo$
37
^build/.*
38
CMakeFiles
39
DartTestfile.txt
40
cmake_install.cmake
41
CMakeCache.txt
Ignore white space 6 line context
1
all:
2
	$(MAKE) -C ..
Ignore white space 1610612736 line context
1
all:
2
	$(MAKE) -C ..
Ignore white space 6 line context
1
all:
2
	$(MAKE) -C ..
Ignore white space 6 line context
1
all:
2
	$(MAKE) -C ..
Ignore white space 6 line context
1
all:
2
	$(MAKE) -C ..
Ignore white space 6 line context
1
all:
2
	$(MAKE) -C ..
0 comments (0 inline)