CMake: removing qpythia from the depedencies
[u/mrichter/AliRoot.git] / cmake / CMakelinuxx8664icc.cmake
CommitLineData
04831880
PH
1# -*- mode: cmake -*-
2
3#--------------------------------------------------------------------------------#
4# Linuxx8664gcc CMake System configuration file for the AliRoot Build System #
5# #
6# Author: Johny Jose (johny.jose@cern.ch) #
7# #
8#--------------------------------------------------------------------------------#
9
10
cbd58b9c 11cmake_minimum_required(VERSION 2.8.8 FATAL_ERROR)
04831880
PH
12
13#Retrieve Compiler Version
14
15# Global Optimization
16set(OPT)
17
18# ------- Setting optimization flags for default configuration -------
19
20if((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
13ccd105 21 set(DEFAULT_CXX_FLAGS "-O1 -ip -finline -unroll -foptimize-sibling-calls -g")
04831880
PH
22 set(OPT "${DEFAULT_CXX_FLAGS}")
23 message("-- Setting compiler flags for default configuration: ${DEFAULT_CXX_FLAGS}")
24endif((NOT CMAKE_BUILD_TYPE) OR (CMAKE_BUILD_TYPE STREQUAL "None"))
25
26# --------------------------------------------------------------------
27
28
29set(NOOPT "-g")
30
31set(CXXOPT ${OPT})
32set(CXXNOPT ${NOOPT})
33set(COPT ${OPT})
34set(FOPT ${OPT})
35
36#CERNLIB defines
37set(CLIBDEFS "-DCERNLIB_LINUX -DCERNLIB_BLDLIB -DCERNLIB_CZ")
38set(CLIBCXXOPTS)
39set(CLIBCOPT)
40set(CLIBFOPT ${CLIBDEFS})
41
42set(CXXWARN " ")
43
44set(CXXFLAGS "${OPT} -fPIC -Dlinux")
45set(CXXFLAGSNO "${NOOPT} -fPIC -Dlinux")
46add_definitions(-Dlinux)
47
48set(CFLAGS "${OPT} -fPIC")
49set(FFLAGS "${CLIBFOPT} ${FOPT} -fPIC")
50
51set(SYSLIBS "-ldl -lcrypt -L/usr/X11R6/lib -lX11")
52
53set(LDFLAGS "${OPT}")
54set(SOFLAGS "${OPT} -shared")
55set(ALLIB)
56
57
58