We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4f5004 commit 31243baCopy full SHA for 31243ba
.gitignore
@@ -27,7 +27,8 @@ __pycache__
27
.vscode
28
29
### Generated header file
30
-include/config.hpp
+include/ginkgo/config.hpp
31
+include/ginkgo/ginkgo.hpp
32
33
### C++
34
# Prerequisites
cmake/generate_ginkgo_hpp.cmake
@@ -14,4 +14,7 @@ function(ginkgo_generate_ginkgo_hpp)
14
endforeach()
15
configure_file("${Ginkgo_SOURCE_DIR}/include/ginkgo/ginkgo.hpp.in"
16
"${Ginkgo_BINARY_DIR}/include/ginkgo/ginkgo.hpp" @ONLY)
17
+ if(EXISTS "${Ginkgo_SOURCE_DIR}/include/ginkgo/ginkgo.hpp")
18
+ message(FATAL_ERROR "ginkgo.hpp is auto-generated and should not be in include/ginkgo")
19
+ endif()
20
endfunction()
0 commit comments