Hi all,
Porting a collection of IAR Embedded Workbench projects to CMake/GCC.
The IAR projects make use of "preinclude headers" (header files that are
automatically included in every source file in the project without being
explicitly pulled in with a #include statement - not to be confused with
OK, so it is there in the project file and if I enable detailed build
output, the flag is there. I wonder why the the AdditionalOptions aren't
appearing in the GUI. They used to.
/w34101 /w34189 /w34018 /w34389 /Zo
%(AdditionalOptions)
Nothing in the "Additional Options" section in
Has anyone been able to use the /Zo flag? I tried to add it to my
RelWithDebInfo build, but the flag doesn't seem to be showing up in the
command line (in the GUI).
My flags are:
/MT /O2 /Ob2 /D NDEBUG /Zi /Zo
I'm using cmake 3.2.1.
Documentation on /Zo (available in VS2013.3+:
https://msdn.mi
I have a project where I hope to build a binary, named `final_exe`. The
build directory where `final_exe` ends up needs to contain a file called
`final_resource` in order for `final_exe` to be considered "built."
The file `final_resource` is generated by another binary, called
`generating_exe`, wh
On Mon, Dec 14, 2015 at 8:02 PM, Alan W. Irwin
wrote:
> On 2015-12-14 12:43- Ray Donnelly wrote:
>
>> The issue I've got here is that on MSYS2 we've decided that we don't
>> want to provide libdl for mingw-w64 but do provide it for msys2, so
>> there'll never be a /mingw{64,32}/lib/libdl.a or
On 12/09/2015 10:06 PM, Alan W. Irwin wrote:
> Also, the documentation of the ctest --timeout option says:
>
> `--timeout `
> Set a global timeout on all tests.
>
> This option will set a global timeout on all tests that do not
> already have a timeout set on them.
Yes, one can see that implem
If you can build Ada sources first, you might wish to make that a
standalone project that is consumed downstream natively as an Imported
Library. Do you generate the import library from a .def file, or via
some other means?
On Mon, Dec 14, 2015 at 9:59 AM, Tom Kacvinsky
wrote:
> Hi Petr,
>
>
> O
On 2015-12-14 12:43- Ray Donnelly wrote:
The issue I've got here is that on MSYS2 we've decided that we don't
want to provide libdl for mingw-w64 but do provide it for msys2, so
there'll never be a /mingw{64,32}/lib/libdl.a or
/mingw{64,32}/lib/libdl.dll.a, but there is a /usr/lib/libdl.a. W
Hi Petr,
On Mon, Dec 14, 2015 at 10:53 AM, Petr Kmoch wrote:
> Hi Tom,
>
> linking the static archive into the DLL should not be done by
> add_dependencies(), but by target_link_libraries(). There, you can
> explicitly list the archive as PRIVATE so that it does not become a part of
> the linkin
On 12/14/2015 1:34 AM, Igor Sobinov wrote:
Thanks, that's clear.
So, If I write in makefile
No not really clear. The problem is NOT in your makefile. The problem
is in your custom command that calls make again. That is where the
problem is. In your custom command (which you have not provi
Hi Tom,
linking the static archive into the DLL should not be done by
add_dependencies(), but by target_link_libraries(). There, you can
explicitly list the archive as PRIVATE so that it does not become a part of
the linking interface of the DLL:
add_library(staticArchive STATIC ...)
add_library
On Mon, Dec 14, 2015 at 9:34 AM, Tom Kacvinsky
wrote:
> I am getting link errors because cmake is adding transitive
> dependencies. I am building a DLL which depends on a static archive
> (and is marked as such with add_dependencies), but when I link an
> executable that depends on the DLL, both
I have a few custom targets I create, but they do not appear in the
list of projects when I generate for Eclipse (using
CMAKE_ECLIPSE_VERSION=4.2).
These particular custom targets are generated all in the same
directory, same script. They happen to depend on each other. Example:
add_library( Targ
I am getting link errors because cmake is adding transitive
dependencies. I am building a DLL which depends on a static archive
(and is marked as such with add_dependencies), but when I link an
executable that depends on the DLL, both libraries (import library for
the DLL and static archive) are s
On Mon, 2015-12-14 at 09:34 +0300, Igor Sobinov wrote:
> So, If I write in makefile
>
>
> build_release: $(RELEASE_DIR)
> @cd $(RELEASE_DIR); $(MAKE) release
>
> I got an error
>
> Also if I write
> build_release: $(RELEASE_DIR)
> $(MAKE) release -C $(RELEASE_DIR)
>
> I got an error t
Hello,
I would like to write a function called install_package which works like the
find_package function, but for installation of external packages (thanks to
ExternalProject).
Thus, I would like to write modules InstallFoo.cmake so as to be able to call
my function like this:
install_pack
On Mon, Dec 14, 2015 at 12:43 PM, Ray Donnelly wrote:
> On Mon, Dec 14, 2015 at 2:42 AM, Alan W. Irwin
> wrote:
>> On 2015-12-14 01:06- Ray Donnelly wrote:
>>
>>> Hi,
>>>
>>> I ran into a problem on MSYS2 recently building llvm+clang for
>>> mingw-w64 using CMake 3.4.1 (we carry a few local p
On Mon, Dec 14, 2015 at 2:42 AM, Alan W. Irwin
wrote:
> On 2015-12-14 01:06- Ray Donnelly wrote:
>
>> Hi,
>>
>> I ran into a problem on MSYS2 recently building llvm+clang for
>> mingw-w64 using CMake 3.4.1 (we carry a few local patches, they're
>> fairly minor, except the qt5-static one, and I
Hi,
I tried using try_compile, and, as usual, fail to understand how it's supposed
to work (2.8.12).
The documentation says:
Some extra flags that can be included are, INCLUDE_DIRECTORIES,
LINK_DIRECTORIES, and LINK_LIBRARIES.
but does not mention where they can be included (none of the two
Thanks for the clarification.
On Mon, Dec 14, 2015, 16:23 Attila Krasznahorkay <
attila.krasznahor...@gmail.com> wrote:
> Hi,
>
> Just to clarify: CMAKE_INSTALL_PREFIX is the variable that sets where the
> project will be installed. CMAKE_PREFIX_PATH is used (amongst other things)
> to find exter
Hi,
Just to clarify: CMAKE_INSTALL_PREFIX is the variable that sets where the
project will be installed. CMAKE_PREFIX_PATH is used (amongst other things) to
find external projects during the configuration.
Cheers,
Attila
> On 13 Dec 2015, at 21:20, Owen Hogarth II wrote:
>
> wow
Hi Igor,
At this point it's really not a CMake question, but a GNU Make one... The
answer is actually right there in the first warning that you got.
make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent make
rule.
I have to admit that I'm not absolutely sure about all the subt
22 matches
Mail list logo