Hi,
You didn’t specify nothing in variable JAVA_SOURCE_DIRECTORY, so java source
path is effectively /HelloWorld.java.
By the way, you can specify relative paths to the CMakeLists.txt directory for
java sources, so:
set(JAVA_SOURCE_FILES HelloWorld.java)
add_jar(${JAR_NAME}
You are evaluating those properties at the wrong time. Transitive properties
are not passed on at configure time (they can’t be), but at generation time.
Therefore to debug those values you will have to use generator expressions
(except they don’t work for link_libraries). Or just look at the
On 12/04/2015 02:12 AM, Vasily Vladimirovich Vylkov wrote:
> Thanks all -- that worked. The key:
> regedit.exe --> HKLM\SYSTEM\ControlSet001\Control\Environment\Path
>
> had a backup of the path var before the CMake install nuked it.
>
>> How long was your PATH before?
>
> Just my luck, it
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via 8cc5e2cb87cc0b2868f10015688991f257371755 (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via d9bbc8f02b8374d258c254b2e105b951620d795a (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via 128d569af02d95e455b5ee1d8dddec07251b7033 (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via c3bb76dfd2bc732acb8d69ef47dacce9a55a6582 (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via 335314e35f5bbfe4131895e9e877e4a19cd3e806 (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 279b421bf8e42a41b5afee9a05916fe08e278f70 (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via 939792fdf6d16e192566b1e661725a8a72d6bc7d (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 270a1aef1c938e7683fb338075c6db432c50bc0e (commit)
via
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 2dd7af2fb8a24af0e03608de327342abc0d49db6 (commit)
via
Thanks for the insight Brad.
Another advantage may be that the FindMPI module knows about what `mpirun`
or `mpiexec` is called, as well as some common flags, like number of ranks
to execute. Since OpenCoarrays writes an MPI compiler wrapper script and a
script to run the executable, `caf` and
Just to answer myself: After looking at the source code, I now understand that
the regular expression set by include_regular_expression(...) is not compared
against the full path name of the included file, but just what's in the source
file after #include. So this machinery is non too useful
Dear All,
I'm still debugging the performance problems of our build. But now I bumped
into another surprising thing.
Our "highest level" packages can depend on a *lot* of low level packages. The
one I'm testing now depends on more than 180 of them.
This generates >180 -isystem flags for the
On 12/04/2015 05:51 PM, Zaak Beekman wrote:
> What are the pros and cons of using FindMPI over passing FC=mpif90 and
> CC=mpicc?
It shouldn't matter much if all the code in the project is meant
to be build for MPI. Using plain FindMPI with the CC/CXX/FC set
to the system compilers is cleaner
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 88903117356d43bca0ae6e01b5aa3b687bc8a32f (commit)
via
On 12/06/2015 02:40 PM, Bartosz Kosiorek wrote:
> added support for multiple source directories into copy_directory
Thanks. Applied with minor tweaks:
cmake: Refine -E chdir documentation
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0903812b
cmake: Refine -E copy_if_different
The following issue has been SUBMITTED.
==
https://public.kitware.com/Bug/view.php?id=15873
==
Reported By:Ralf Mitschke
Assigned To:
Dear All,
I'm struggling since a few days with the following issue.
Our development setup is such that we build large software projects in a
nightly build system, which puts these projects onto a network drive. The
developers then set up these nightly projects, and build their own code against
On 12/04/2015 03:05 PM, Bruce Stephens wrote:
Any suggestions on how to organise that? Presumably there are
lots of examples in (for example) KDE, but I'm not familiar enough
with that codebase to be able to find them easily.
Currently our GNU Make build builds static libraries in the
Hello David,
It didn't worked. I end up passing -wno-cpp to the cmake flags to finally
get over this issue.
I don't get how CTEST_CUSTOM_WARNING_EXCEPTION works.
How does this compare the regex when it gets a warning?
How do I disable all warnings from a directory? eg:
Dear All,
Maybe I should've google-d better. So now I started experimenting with
include_regular_expression(...).
https://cmake.org/cmake/help/v3.0/command/include_regular_expression.html
But now I'm having a problem with expressing my intent with a regular
expression. In principle I'd like
Dear CMake users,
I'm trying to use CMake to replace the complex hand-built Visual Studio
configuration of our open source project, Box Backup. And I'm having
trouble making it generate the correct transitive dependencies between
modules, particularly for include directories.
We have a lot of
Hello,
We sometimes have tests that are failing and want to disable them
temporarily, but still be reminded of them in the CDash dashboard. To
accomplish this, we sometimes map the test name to a non existing
executable. CTest then can't find the executable and marks the test as
"not run" in
On Monday, December 07, 2015 15:39:40 Attila Krasznahorkay wrote:
> Dear All,
>
> I'm still debugging the performance problems of our build. But now I
bumped
> into another surprising thing.
>
> Our "highest level" packages can depend on a *lot* of low level
packages.
> The one I'm testing now
Hi Alex,
From what I could see, if the base CMake code decides that internally
CMAKE_INCLUDE_SYSTEM_FLAG_CXX needs to be set to “-isystem “, then I can’t
influence this decision from the outside.
But the reason that the decision between using -I and -isystem seemed so
inexplainable to me was
Dear All,
I am learning CMake, and one of my personal lessons is combine Java
and CMake. I made a small example (HelloWorld.java):
==
public class HelloWorld
{
public static void main(String[] args)
{
System.out.println("Hey :)");
}
}
==
And a CMakeLists.txt
$ cmake -E copy_directory foo bar/foo
?
On Mon, Dec 7, 2015 at 4:53 PM, Robert Dailey wrote:
> I have a custom target which runs a command similar to this:
>
> $ cmake -E copy_directory foo bar
>
> The problem is that the contents of "foo" are copied inside of "bar",
On Mon, Dec 7, 2015 at 3:59 PM, David Cole wrote:
> $ cmake -E copy_directory foo bar/foo
>
> ?
>
>
> On Mon, Dec 7, 2015 at 4:53 PM, Robert Dailey
> wrote:
>> I have a custom target which runs a command similar to this:
>>
>> $ cmake -E copy_directory
On Mon, Dec 7, 2015 at 4:15 PM, Robert Dailey wrote:
> On Mon, Dec 7, 2015 at 3:59 PM, David Cole wrote:
>> $ cmake -E copy_directory foo bar/foo
>>
>> ?
>>
>>
>> On Mon, Dec 7, 2015 at 4:53 PM, Robert Dailey
>> wrote:
>>> I
On Mon, Dec 7, 2015 at 9:08 AM, Nils Gladitz wrote:
> I would avoid creating these single use, per directory libraries entirely.
>
>
Well, creating the static libraries is obviously just an artifact of our
current
build scheme, so it makes sense to ditch it.
Creating
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 8b8a03fc4a03845c797523d918fc06d408dde2c7 (commit)
via
2015-11-17 9:18 GMT+01:00 Domen Vrankar :
> 2015-11-15 20:32 GMT+01:00 Markus Rickert :
>> Hi,
>>
>> similar to the previous patch for CPackDeb, the attached patch adds
>> component-specific settings for group and name of an RPM package.
>>
>>
I noticed one glitch. I built against Qt 5.5.1 on Linux and the
option dialog seems to truncate the labels.
I think I've fixed it, by using vertical layouts rather than form
layouts and setting the size policy to expanding for the widgets, if
that doesn't fix I'll need to look into QT in more
I'm stuck on what seems like a rather simple problem.
I've got this in my CMakeLists.txt
set(BOOST_INCLUDEDIR ${CMAKE_CURRENT_LIST_DIR}/boost_1_59_0)
set(Boost_DEBUG 1)
find_package(Boost 1.59.0 EXACT REQUIRED)
The boost_1_59_0 I'm pointing it to contains the Boost source straight
It turns out I missed some important information. I am cross compiling,
and my toolchain file sets CMAKE_FIND_ROOT_PATH_MODE_INCLUDE to ONLY. If I
change ONLY to BOTH, CMake succesfully locates the Boost headers.
I'm not sure if this is the correct solution though. Why would setting
this to
The reason is that ONLY really does mean: “only look in the
CMAKE_FIND_ROOT_PATH, and don’t look anywhere else”. This can be useful when
cross-compiling, as it ensures that you can strictly control the location(s)
where system headers are found, and not accidentally find them on the host
Hi,
I did build a static version of CMake today successfully via
LDFLAGS="-static-libstdc++ -static-libgcc -static" \
CFLAGS="-fPIC" \
CXXFLAGS="-fPIC" \
./bootstrap
make -j
make install
(the -fPIC could also be superfluous, I just realized later that I need
to build my gcc via -fPIC,
_VERSION_MINOR 4)
-set(CMake_VERSION_PATCH 20151207)
+set(CMake_VERSION_PATCH 20151208)
#set(CMake_VERSION_RC 1)
---
Summary of changes:
Source/CMakeVersion.cmake |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/
40 matches
Mail list logo