On Wednesday 16 July 2008 16:20:30 Bill Hoffman wrote:
> Carminati Federico wrote:
> > Hello,
> >my use case is similar. My package depends on another one that can be
> > installed with different compiler choices. So the first action I take is
> > always to check the compiler used to install th
Carminati Federico wrote:
Hello,
my use case is similar. My package depends on another one that can be
installed with different compiler choices. So the first action I take is
always to check the compiler used to install the other package and then
to use the same. I could obviously do
exp
Hello,
my use case is similar. My package depends on another one that can
be installed with different compiler choices. So the first action I
take is always to check the compiler used to install the other package
and then to use the same. I could obviously do
export CXX=`root-config --c
On Tuesday 15 July 2008 20:28:27 Yuri Timenkov wrote:
> On Tuesday 15 July 2008 20:01:52 Bill Hoffman wrote:
> > Carminati Federico wrote:
> > > Hello Yuri,
> > > I posted a similar question some time ago. There seems to be no way
> > > to chose the compiler within the CMakeList.txt, because yo
On Tuesday 15 July 2008 20:01:52 Bill Hoffman wrote:
> Carminati Federico wrote:
> > Hello Yuri,
> > I posted a similar question some time ago. There seems to be no way to
> > chose the compiler within the CMakeList.txt, because you can do very
> > little before the Project command, and afterwar
Carminati Federico wrote:
Any hope to have this changed in a future release?
Best regards,
No, it really is out of the work flow of CMake. First you find the
working compiler and test it. The CMakeLists.txt files should never
force a compiler choice. They should be compiler agnostic as mu
Carminati Federico wrote:
Hello Yuri,
I posted a similar question some time ago. There seems to be no way to
chose the compiler within the CMakeList.txt, because you can do very
little before the Project command, and afterwards it is too late.
Anybody can help here? best, regards,
That i
Hello Yuri,
I posted a similar question some time ago. There seems to be no way
to chose the compiler within the CMakeList.txt, because you can do
very little before the Project command, and afterwards it is too late.
Anybody can help here? best, regards,
Federico Carminati
CERN-PH
1211
I want to tune initial compile and linker flags to put into cache.
in main CMakeLists.txt:
# Override default Compiler flags
set(CMAKE_USER_MAKE_RULES_OVERRIDE MyCompilerFlags)
project(MyProject)
in MyCompilerFlags.cmake:
check_cxx_linker_flag("-Wl,--warn-unresolved-symbols"
HAVE_LD_WARN_UNRESO