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 d430115 commit 9c2f176Copy full SHA for 9c2f176
CMakeLists.txt
@@ -34,6 +34,17 @@ target_link_libraries(meshFields INTERFACE Cabana::Core)
34
target_link_libraries(meshFields INTERFACE Kokkos::kokkoskernels)
35
target_compile_definitions(meshFields INTERFACE ENABLE_CABANA)
36
37
+#support ctags
38
+option(MeshFields_USE_CTAGS "Generate Ctags" OFF)
39
+if(MeshFields_USE_CTAGS)
40
+ #from: https://stackoverflow.com/a/9842046
41
+ set_source_files_properties(tags PROPERTIES GENERATED true)
42
+ add_custom_target(tags
43
+ COMMAND ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .
44
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
45
+ add_dependencies(meshFields tags)
46
+endif()
47
+
48
#Settings options for testing
49
enable_testing()
50
include(CTest)
0 commit comments