folder1_inc = include_directories('.')
-
folder1_lib = static_library('folder1', 'folder1.c', include_directories : folder1_inc)
-
folder1_dep = declare_dependency(link_with: folder1_lib, include_directories : folder1_inc)
-#include "../folder1/folder1.h"\r
+#include "folder1.h"\r
#include "folder2.h"\r
\r
\r
folder2_inc = include_directories('.')
-
-folder2_lib = static_library('folder2', 'folder2.c', include_directories : folder2_inc)
-
-folder2_dep = declare_dependency(link_with: folder2_lib, include_directories : folder2_inc, dependencies : folder1_dep)
+folder2_lib = static_library('folder2', 'folder2.c', include_directories : folder2_inc, dependencies : folder1_dep)
+folder2_dep = declare_dependency(link_with: folder2_lib, include_directories : folder2_inc)
-folder2_tst = executable('test2', 'folder2_test.cpp',
- dependencies : [gtest, folder2_dep])
+folder2_tst = executable('test2', 'folder2_test.cpp', dependencies : [gtest, folder2_dep])
test('test 2', folder2_tst)