The various Ex directories are incremental illustrations of how to write CMakeLists.txt files within AliceO2 repository.
Ex
CMakeLists.txt