From 9ef77c47a789ee8c6d4fec361aaf5bb7417b218e Mon Sep 17 00:00:00 2001 From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Date: Wed, 21 Dec 2022 15:07:59 +0000 Subject: [PATCH] Documentation for ad24ee1273fff16dcbb2854a8b060a7c1769755d --- d6/dcd/md__c_o_n_t_r_i_b_u_t_i_n_g.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/d6/dcd/md__c_o_n_t_r_i_b_u_t_i_n_g.html b/d6/dcd/md__c_o_n_t_r_i_b_u_t_i_n_g.html index 3978877f..8e512ae9 100644 --- a/d6/dcd/md__c_o_n_t_r_i_b_u_t_i_n_g.html +++ b/d6/dcd/md__c_o_n_t_r_i_b_u_t_i_n_g.html @@ -261,7 +261,7 @@ An example of how your new <tt>CMakeLists.txt</tt> file should look file( GLOB APP_SOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.c ) foreach( testsourcefile ${APP_SOURCES} ) - string( REPLACE ".c" "" testname ${testsourcefile} ) # File type. Example: `.c`, `.h` + string( REPLACE ".c" "" testname ${testsourcefile} ) # File type. Example: `.c` add_executable( ${testname} ${testsourcefile} ) if(OpenMP_C_FOUND) @@ -270,7 +270,7 @@ foreach( testsourcefile ${APP_SOURCES} ) if(MATH_LIBRARY) target_link_libraries(${testname} ${MATH_LIBRARY}) endif() - install(TARGETS ${testname} DESTINATION "bin/<foldername>") # Folder name + install(TARGETS ${testname} DESTINATION "bin/<foldername>") # Folder name. Do NOT include `<>` endforeach( testsourcefile ${APP_SOURCES} ) @endicode @@ -280,7 +280,7 @@ Include your new directory after the last subdirectory. Example: @icode{cmake} ... -add_subdirectory(divide_and_conquer) +add_subdirectory(numerical_methods) add_subdirectory(<foldername>) @endicode