When I run CMake on my project (java bindings for llvm) after upgrading
to Ubuntu 12.04, it returns the following error:
eli@eli-netbook:~/Programs/decac/src/org/jllvm/bindings$ cmake .
CMake Error at /usr/share/cmake-2.8/Modules/FindJava.cmake:99 (MESSAGE):
Error executing java -version
Call S
That tip worked fine!
I ended up doing
STRING(REPLACE "\n" "\\n\\\n" svn_lastlog_with_slashes
${rr_LAST_CHANGED_LOG})
So when reading the char constant newlines are embedded.
tk
On 6/28/2012 11:08 PM, m.hergarden wrote:
Will a string replace combo help in your case? We use it to replac
Hi everyone,
One difficulty I tend to have backing up my cache is that it is long and not in
the same format as , a point I raised in a previous post. When
blowing away the cache and reconfiguring it is not convenient to back up what
is lost and do a round-trip back to cmake.
One thing that wou
The mechanics of this are not due to -C but scope issues. I would not advocate
overstepping the "defined" behavior of -C, but learning the reasons why your
function did not work was informative for me as a new user.
The -C option and act the way they do because of the way SET works
and how ear
Hi,
On Fri, Jun 29, 2012 at 2:44 PM, Christian Arnault wrote:
> Hi,
>
> I wanted to factor out some initial stuff of my CMakeLists.txt that I
> systematically include.
>
> typically I include the following lines at the beginning of all my
> CMakeLists.txt:
>
> cmake_minimum_required(VERSION 2.8)
The documentation for the CMake -C command line option says:
"When cmake is first run in an empty build tree, it creates a
CMakeCache.txt file and populates it with customizable settings for
the project. This option may be used to specify a file from which to
load cache entries before the first pa
Hi,
I wanted to factor out some initial stuff of my CMakeLists.txt that I
systematically include.
typically I include the following lines at the beginning of all my
CMakeLists.txt:
cmake_minimum_required(VERSION 2.8)
function (AA)
message ("calling AA")
endfunction()
AA()
Then I thought
On Thu, Jun 28, 2012 at 9:05 PM, Eric Noulard wrote:
> 2012/6/28 hce :
> >
> > m.hergarden wrote
> >>
> >> The unspecified may come from an Install statement that does not have a
> >> component specified.
> >>
> >> Micha
> >>
> >
> > I actually double checked, there are only two install statements