Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
jougs committed Jan 12, 2023
1 parent 1a9789c commit c6d9b73
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,10 @@ nest_process_target_bits_split()
nest_process_version_suffix()
nest_process_userdoc()
nest_process_devdoc()
# IMPORTANT: Please try to keep these two function calls to be the last functions to call in this Process step.
# Adding wrong keywords to the "-Dwith-optmize" flag might cause wrong errors, and therefore to avoid that
# the step for processing the optmization phase and the debug phase must be the last steps.

# These two function calls must come last, as to prevent unwanted interactions of the newly set flags
# with detection/compilation operations carried out in earlier functions. The optimize/debug flags set
# using these functions should only apply to the compilation of NEST.
nest_process_with_optimize()
nest_process_with_debug()

Expand Down

0 comments on commit c6d9b73

Please sign in to comment.