We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7699e35 commit e1bbbb2Copy full SHA for e1bbbb2
CMakeLists.txt
@@ -62,5 +62,6 @@ option(BUILD_TESTS "Build tests" OFF)
62
63
if(BUILD_TESTS)
64
add_executable(dmath_test tests/main.c)
65
+ target_include_directories(dmath_test PRIVATE include/public)
66
target_link_libraries(dmath_test dmath)
67
endif()
tests/main.c
@@ -2,6 +2,10 @@
2
#include <stdio.h>
3
4
int main(){
5
+#ifndef _DMATH_H
6
+ abort();
7
+#endif
8
+
9
double x = log(10);
10
11
// write to output.txt
0 commit comments