Skip to content
Snippets Groups Projects
Commit 18ad9607 authored by Mathieu Peybernes's avatar Mathieu Peybernes
Browse files

Update slides for cmake exercise

parent a1cb1632
No related branches found
No related tags found
No related merge requests found
......@@ -336,6 +336,18 @@ prepend_path("INCLUDE","/ssoft/spack/arvine/v1/opt/spack/linux-rhel7-skylake_avx
\bashfile[title={examples/compilationWithCmakeAdvanced/CMakeLists.txt},
minted options app={firstline=5,lastline=29}]{examples/compilationWithCmakeAdvanced/CMakeLists.txt}
\end{frame}
\begin{frame}[exercise]
\frametitle{Compilation}
\framesubtitle{Exercise compilationWithCmakeAdvanced}
\begin{itemize}
\item Go to the directory \cmd{compilationWithCmakeAdvanced}
\item Create a directory \cmd{build_gcc} and \cmd{build_intel}
\item Compile the code, first with \cmd{gcc} compiler in \cmd{build_gcc}, then in \cmd{build_intel} with \cmd{intel} compiler
\item Use different compilation options modifying the \cmd{CMakeLists.txt} file or using the \cmd{cmake} command line with \cmd{-DCMAKE_C_FLAGS="..."} option
\item Check the results according to the solution of exercise \cmd{simpleCompilation}
\end{itemize}
\end{frame}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "../../SCM_slides"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment