Skip to content

Commit f99e94f

Browse files
committedJan 9, 2014
Adding make generation for tests
1 parent 7a84b28 commit f99e94f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
 

‎CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ cmake_minimum_required(VERSION 2.8)
22
project(ctry)
33
include_directories(include/)
44
add_library(ctry SHARED src/ctry.c)
5+
6+
# TESTS
7+
add_subdirectory(tests)

‎tests/CMakeLists.txt

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
cmake_minimum_required(VERSION 2.8)
2+
project(ctry_tests)
3+
include_directories(../include/)
4+
5+
add_executable(test01 test01.c)
6+
target_link_libraries(test01 ctry)

0 commit comments

Comments
 (0)
Please sign in to comment.