On Wed, Apr 20, 2016 at 6:21 PM, vakano wrote:
> Hi, Chuck,
>
> Thanks for the explanation, it is very clear now.
>
> One last question is:
>
> *folder/proj_a*
> CMakeLists.txt:
> add_executable(A main.cpp)
> target_link_libraries(A B C)
>
> *folder/proj_b*
> CMakeLists.txt:
> project(proj_b)
> ad
Hi, Chuck,
Thanks for the explanation, it is very clear now.
One last question is:
*folder/proj_a*
CMakeLists.txt:
add_executable(A main.cpp)
target_link_libraries(A B C)
*folder/proj_b*
CMakeLists.txt:
project(proj_b)
add_library(B proj_b.cpp)
in your proj_a example, when target_link_librairi
On Monday, April 18, 2016 16:57:52 Nils Rathmann wrote:
> Hi,
> when I setup with the Eclipse CDT4 generator, as described here:
> https://cmake.org/Wiki/Eclipse_CDT4_Generator4
>
> my [Targets] folder contains virtual folders for CMakeRules, Header
> Files, Object Files, Resources and Source File
Hi all,
I'm working with enabling CUDA support for the Finite Element Method
library Deal.II, which includes a couple of cmake macros for the user to
set up their Deal.II application. Inside one of these, I now need to
correctly configure the include directories for the intermediately
generat
On 04/20/2016 10:01 AM, Johan Holmberg wrote:
> I tried specifying "-GNinja" to cmake, and setting CC/CXX to
> clang/clang++.
Good.
> But this didn't work. I get errors like:
>
> clang.exe: error: no such file or directory: '/nologo'
>
> indicating that CMake thinks it should pass Visual C++
Hi!
How should I setup CMake to build a C/C++ application on Windows using
clang/clang++ as compilers and Ninja as build tool?
I tried specifying "-GNinja" to cmake, and setting CC/CXX to clang/clang++.
But this didn't work. I get errors like:
clang.exe: error: no such file or directory: '/nol
> So for this parallel project structure, an upper level cmakelist used to
> organize and setup relationship with lib A, B, C right?
>
Correct. The top level CMakeLists.txt lets A B and C all build under a
single configuration.
One more question is, if use the upper level cmake list, lib_B , li
The proposed solution does not seem to work.
There is now an issue related https://cmake.org/Bug/view.php?id=16059
--
Ing. Claudio Caraffi, PhD
E-Mail: claudio.cara...@gmail.com
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/W
I recently struggled with the command CheckIncludeFile (and siblings) while
working with a custom toolchain.
Even if I was setting the necessary CMAKE_SYSROOT, include_directories and
even CMAKE_REQUIRED_INCLUDES, the commands would report a given header was
not found.
When I hacked into:
CheckInc
Hi David,
Generation of project files in CMake is a one-way process. CMake is not able to
edit its own input (CMakeLists.txt). To update a project managed by CMake, you
should update CMakeLists.txt manually and regenerate your CDT project.
Best regards,
Miroslav
From: CMake [mailto:cmake-boun
Hi
I want to build an Eclipse CDT (C++) project on Linux that can be maintained
using CMake. I have seen the notes on the Eclipse CDT4 Generator here:
https://cmake.org/Wiki/Eclipse_CDT4_Generator
Is the sole purpose of that generator to create a CDT project from a CMake
makefile?
Or, having
Hi
I want to build an Eclipse CDT (C++) project on Linux that can be maintained
using CMake. I have seen the notes on the Eclipse CDT4 Generator here:
https://cmake.org/Wiki/Eclipse_CDT4_Generator
Is the sole purpose of that generator to create a CDT project from a CMake
makefile?
Or, having
12 matches
Mail list logo