r2d2leb...@voila.fr wrote:
> Hi,
>
> I need to write a FindModule which search static and shared version of my
> lib.
If it is your library, then you provide a Config.cmake file, not a
FindModule:
http://www.cmake.org/cmake/help/v3.2/manual/cmake-packages.7.html
> I would like to know what
On 04/13/2015 04:28 PM, Robert Dailey wrote:
I am running on Windows 8.1. Screenshots attached.
Those are options for cmake itself rather than for the compiler:
http://www.cmake.org/cmake/help/v3.2/manual/cmake.1.html
Nils
--
Powered by www.kitware.com
Please keep messages on-topic and ch
I am running on Windows 8.1. Screenshots attached.
On Mon, Apr 13, 2015 at 9:20 AM, Brad King wrote:
> On 04/10/2015 12:26 PM, Robert Dailey wrote:
>> I am noticing that after installing the official Windows installer for
>> 3.2.1 release, CMake GUI looks different. Menu options have GCC
>> speci
On 04/10/2015 12:26 PM, Robert Dailey wrote:
> I am noticing that after installing the official Windows installer for
> 3.2.1 release, CMake GUI looks different. Menu options have GCC
> specific options and when I generate through the GUI for Visual Studio
> 2013, my projects are missing preprocess
Hi,
I need to write a FindModule which search static and shared version of my lib.
I need both on my project (there is a diff between static and dynamic lib).
I would like to import my lib using add_library :
add_library(Foo::MyLib STATIC IMPORTED)
add_library(Foo::MyLib SHARED IMPORTED)
This
Use the URL_MD5 and DOWNLOAD_DIR arguments to ExternalProject_Add to
put the downloaded files into a location outside the build tree
(perhaps ~/Downloads on Mac/Linux or $ENV{USERPROFILE}/Downloads on
Windows).
With DOWNLOAD_DIR outside the build tree, and the checksums of the
downloaded files bei
Hello!
I use the ExternalProject_Add function to download third-party libraries of a
code.
Once a library has been downloaded, I can call "make" as many times as I want
without downloading this library again.
It seems that CMake detects that the library has already been downloaded.
Howeve
On 04/13/2015 10:40 AM, Nico Schlömer wrote:
FIND_PACKAGE(Trilinos REQUIRED)
```
which sits in the custom folder
```
/path/to/lib/x86_64-linux-gnu/cmake/Trilinos/TrilinosConfig.cmake
[...]
What *does* help was setting the `project()` *before* `find_package()`.
Is this something that documente
Hi everyone,
I have a CMake project where I need to find the third-party package
```
FIND_PACKAGE(Trilinos REQUIRED)
```
which sits in the custom folder
```
/path/to/lib/x86_64-linux-gnu/cmake/Trilinos/TrilinosConfig.cmake
```
Unfortunately, simply extending the CMAKE_PREFIX_PATH
```
CMAKE_PREFIX_