Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ab86d32

Browse files
Sebastien Poncesponce
Sebastien Ponce
authored andcommitted
Cleaned up .gitignore files and exercies compilation
1 parent 3db055d commit ab86d32

File tree

33 files changed

+83
-60
lines changed

33 files changed

+83
-60
lines changed

‎.gitignore

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,3 @@
1-
# latex related, Course
2-
C++Course.*
3-
!C++Course.tex
4-
_minted*
5-
6-
# latex related, exercise intro
7-
exercisesIntro.log
8-
exercisesIntro.nav
9-
exercisesIntro.out
10-
exercisesIntro.snm
11-
exercisesIntro.toc
12-
exercisesIntro.vrb
13-
exercisesIntro.pdf
14-
15-
# exercises
16-
build
17-
*.a
18-
*.o
19-
*.so
20-
*.sol
21-
*.sol?
22-
exercises/*aux
23-
exercises/callgrind/fibocrunch
24-
exercises/control/control
25-
exercises/loopsRefsAuto/loopsRefsAuto
26-
exercises/operators/operators
27-
exercises/concepts/concepts
28-
exercises/constness/constplay
29-
exercises/cppcheck/randomize
30-
exercises/debug/randomize
31-
exercises/functions/functions
32-
exercises/helgrind/fiboMT
33-
exercises/hello/hello
34-
exercises/lambdas/randomize
35-
exercises/memcheck/memleak
36-
exercises/move/trymove
37-
exercises/optional/optional
38-
exercises/polymorphism/trypoly
39-
exercises/race/racing
40-
exercises/stl/randomize.nostl
41-
exercises/templates/playwithsort
42-
exercises/valgrind/randomize
43-
exercises/variant/variant
44-
exercises/virtual_inheritance/trymultiherit
45-
exercises/smartPointers/smartPointers
46-
47-
# tools
48-
CMakeCache.txt
49-
CMakeFiles
50-
cmake_install.cmake
51-
callgrind.out.*
52-
531
# just for the allcontributors cli installation...
542
package-lock.json
553
package.json

‎CREDITS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Credits
22
=======
33

4-
- Adaptations for CERN sessions (2020, 2021)
4+
- Adaptations for CERN sessions (2020, 2025)
55
* [Sebastien Ponce](https://github.com/sponce) [CERN](http://cern.ch)/[LHCb](http://lhcb.cern.ch)
66
* [David Chamont](https://gitlab.cern.ch/chamont) [IN2P3](https://informatique.in2p3.fr)
77
* [Attila Krasznahorkay](https://gitlab.cern.ch/akraszna) [CERN](http://cern.ch)/[Atlas](https://atlas.cern/)

‎exercises/.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# generic files and directories
2+
build
3+
*.a
4+
*.o
5+
*.so
6+
7+
# tools
8+
CMakeCache.txt
9+
CMakeFiles
10+
cmake_install.cmake
11+
callgrind.out.*

‎exercises/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ if( "${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}" )
1313
endif()
1414

1515
# Include the exercises that (should) work on all platforms.
16-
add_subdirectory( hello )
1716
add_subdirectory( asan )
1817
add_subdirectory( basicTypes )
1918
add_subdirectory( callgrind )
@@ -23,6 +22,7 @@ add_subdirectory( control )
2322
add_subdirectory( cppcheck )
2423
add_subdirectory( debug )
2524
add_subdirectory( functions )
25+
add_subdirectory( hello )
2626
add_subdirectory( loopsRefsAuto )
2727
add_subdirectory( memcheck )
2828
add_subdirectory( modern_oo )

‎exercises/Makefile

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
1-
TESTDIRS = callgrind cppcheck header_units control hello modules move python smartPointers templates virtual_inheritance \
2-
debug helgrind memcheck polymorphism race stl valgrind basicTypes
3-
NOCOMPILETESTDIRS = constness
1+
TESTDIRS = asan callgrind condition_variable control cppcheck debug functions \
2+
header_units helgrind hello loopsRefsAuto memcheck modern_oo modules \
3+
move operators polymorphism python race smartPointers templates \
4+
valgrind virtual_inheritance
5+
NOCOMPILETESTDIRS = basicTypes constness stl variadic
46

5-
solution:
7+
all:
68
for dir in ${TESTDIRS}; do \
79
cd $${dir}; \
810
make $@; \
911
cd ..; \
1012
done
1113

12-
clean:
14+
solutionclean:
1315
for dir in ${TESTDIRS} ${NOCOMPILETESTDIRS}; do \
1416
cd $${dir}; \
15-
make clean; \
17+
make $@; \
1618
cd ..; \
1719
done
1820

‎exercises/asan/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
asan
2+
asan.sol

‎exercises/basicTypes/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
basicTypes
2+
basicTypes.sol

‎exercises/callgrind/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
fibocrunch
2+
fibocrunch.sol

‎exercises/concepts/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
concepts

‎exercises/condition_variable/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
condition_variable
2+
condition_variable.sol

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /