Skip to content

Commit 32b3550

Browse files
committed
Build examples
1 parent bbaa56a commit 32b3550

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ endif()
1414

1515
include_directories(${CMAKE_SOURCE_DIR})
1616

17-
#add_subdirectory(examples)
17+
add_subdirectory(examples)
1818

1919
enable_testing()
2020
add_subdirectory(tests)

examples/CMakeLists.txt

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
add_executable(
2+
example
3+
example.cc
4+
)
5+
6+
add_executable(
7+
example2
8+
example2.cc
9+
)
10+
11+
add_executable(
12+
custom
13+
custom.cc
14+
)
15+
16+
add_executable(
17+
print_func
18+
print_func.cc
19+
)

0 commit comments

Comments
 (0)