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