On 02/25/2015 12:50 AM, Dmytro Poplavskiy wrote:
I have some source files generated as a part of build process, generated
using add_custom_command().
Building works fine, but would be nice to have generated source files to
be displayed in IDE project (QtCreator using CodeBlocks generator).
I'd
That's great, I will try that.
Thanks very much,
Miklos
On 25 February 2015 at 23:32, J. Caleb Wherry wrote:
> Miklos,
>
> I did a quick test and using the DOWNLOAD_COMMAND option to
> ExternalProject_Add works nicely:
>
> ExternalProject_Add(sfml
> PREFIX ${sfml_PREFIX}
> DOWNLOAD_COMMAND
Actually, scratch my last comment and submodules. There looks to be a
GIT_SUBMODULES option that says if not given, all submodules will be
updated. I am assuming that means the CMake passes in the --recursive
option automatically when cloning. Haven't tested it yet though...
-Caleb
On Wed, Feb 25
Miklos,
I did a quick test and using the DOWNLOAD_COMMAND option to
ExternalProject_Add works nicely:
ExternalProject_Add(sfml
PREFIX ${sfml_PREFIX}
DOWNLOAD_COMMAND git clone --depth 1
https://github.com/LaurentGomila/SFML.git
INSTALL_DIR ${sfml_INSTALL_DIR}
CMAKE_ARGS ${sfml_CMAKE_ARGS}
Thanks for the Answer!
I actually do not want to alter CMake in any way (and I don't want to
create a custom cmake executable) if possible. load_command would have
been perfekt.
I am losing alot of performance in my map_set() map_get() etc functions
which translate down to set_property(GLOBAL...)
Kim Rydhof Thor Hansen wrote:
> http://www.cmake.org/cmake/help/v3.0/prop_tgt/AUTOGEN_TARGET_DEPENDS.html
>
> I have a similar problem because automoc doesn't pick up that my
> metadata.json file is a dependency to the generated moc_plugin.cpp
> when building a Qt plugin
Thanks for the testcase.
On 02/25/2015 01:58 PM, Zaak Beekman wrote:
> When multiple executables or libraries depend on the same
> fortran source file that contains a module, parallel (Makefile)
> builds are failing for me because the .mod file is getting
> moved/renamed/written by more than one process at a time. Is
> the
When multiple executables or libraries depend on the same fortran source
file that contains a module, parallel (Makefile) builds are failing for me
because the .mod file is getting moved/renamed/written by more than one
process at a time. Is there a way to have the same module containing
sourcefile
Thank you very much
> Am 25.02.2015 um 15:12 schrieb Robert Maynard :
>
> Hi Roman,
>
> We do attach the short-log of all changes made between each RC version
> to the bottom of the annoucement. But here are the changes plus the
> git SHA1's for each ( produced with git log --no-merges --oneli
Hi,
is it possible to specify the --depth 1 argument in ExternalProject_Add for
cloning projects from git?
Cheers,
Miklos
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the
Hi Roman,
We do attach the short-log of all changes made between each RC version
to the bottom of the annoucement. But here are the changes plus the
git SHA1's for each ( produced with git log --no-merges --oneline
v3.2.0-rc1..v3.2.0-rc2)
99575c9 CMake 3.2.0-rc2
b4005a3 FindCurses: Drop unused c
Hello Robert,
is there a list which showing the changes between rc1 and rc2, to test such
things explicitly?
Regards
Roman
> Am 24.02.2015 um 16:01 schrieb Robert Maynard :
>
> I am proud to announce the CMake 3.2 second release candidate.
>
> Sources and binaries are available at:
> http:
You're not giving the DLL micro_linMatl_l any source files, so there's
nothing to build. You need to list at least one source file in the
add_library() call. You mentioned a main subroutine in your first e-mail;
the file containing the main subroutine should be listed in the
add_library(SHARED) cal
Hello Petr,
Thank you for the quick reply. At this point I am not getting any errors,
but nothing happens when I build the sln in Visual Studio -> no dll is
created.
Here is the main CMake code:
cmake_minimum_required (VERSION 3.1)
project (micro_linMatl_I)
enable_language (Fortran)
# The versio
Hi Doron,
it would be helpful if you provided the error you're getting from
add_library(), and also showed the exact CMake code you used.
Petr
On Wed, Feb 25, 2015 at 1:57 PM, Doron Klepach wrote:
> Hello there,
>
> I am new to CMake and I am trying to convert a project to work with CMake.
>
>
Hello there,
I am new to CMake and I am trying to convert a project to work with CMake.
As a part of the process I need to create a DLL from a FORTRAN code.
Here are some details:
*The code works on Visual Studio and creates the DLL as required.
*The main subroutine looks like this:
subroutine
Hello,
Thanks for the quick reply!
On Tue, Feb 24, 2015 at 7:54 PM, Stephen Kelly wrote:
> Jakob van Bethlehem wrote:
>
> > Dear users,
>
> > set(CMAKE_PREFIX_PATH "C:/Qt/Qt5.4.0/5.4/msvc2013_64_opengl/lib/cmake")
>
> Don't do this. Pass CMAKE_PREFIX_PATH as an argument to cmake.
>
Good poin
You could patch the executable to make cmLoadCommandCommand return
true from IsScriptable... but if you're going to the trouble of
patching CMake anyhow, why not simply build your loadable command
directly into CMake...?
The other thing might be to mention specifically what the performance
problem
Hi
I've been working on an open source project which provides alot of extra
cmake (in pure cmake) https://github.com/toeb/cmakepp. I am however
hitting a performance bottleneck and want to get around that by using
load_command (I know it is discouraged) however I have the problem that it
is not
mkdir build-d
cd build-d
cmake
-DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=out ../your/source/procject
cmake --build .
cd ..
mkdir build-r
cd build-r
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=out
../your/source/procject
cmake --build . --target install
cd ..
On Wed, Feb 25, 201
Thanks for your reply.
I'm not sure I follow your answer. I do delete the directory each time I
build, but I'm still not understanding how you're building release or debug
versions to begin with.
I'm just automatically getting Release, unless I edit CMakeCache.txt after
I've built once.
I just c
When generating Xcode projects on OSX, for larger projects I get this error
when I attempt to open them (smaller/simpler ones seem to be ok).
In one particular example the Xcode generated project is approx 14MB in size.
Does anyone know of any tools to diagnose what is wrong with the generated
Hi all,
Is there any chance that the version compatibility matrix will be
updated for cmake 3.x features?
Best regards,
Marcel Loose.
<>--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services
23 matches
Mail list logo