Questions tagged [CMake] (90)

0
answer

CMake linker...?

Greetings, linkou boost.python using the build system cmake.set(Boost_USE_STATIC_LIBS OFF)<br> set(Boost_USE_MULTITHREADED ON)<br> set(Boost_USE_STATIC_RUNTIME OFF)<br> <br / > find_package(Boost COMPONENTS filesystem system date_time python REQUIRED)<br> <br / > add_definitions(-Wall -g-...
Toy.Ziema asked October 10th 19 at 14:14
2
answers

CMake and static linking

There is a small self-written parser cross-platform toy using SDL. The C++ Language. Under Win32 and Win64 is going in mingw-w64, gcc 4.5.1. I want the following: in Assembly under Windows, link the dependencies statically. Not hunting to carry over a dozen libraries. Now in the build environment have both versions of libr...
Javon_Tillm asked October 10th 19 at 03:24
1
answer

Is it possible to convert a CMakeLists.txt in the Makefile?

I need to get rid of cmake. The project should be assembled using gnu make and not to depend on cmake. Is there a way to do this automatically? Generate makefile-s using Cmake can't put up the makefile-s will depend on cmake and ctest!
Itzel.Kuval asked October 9th 19 at 20:27
2
answers

Alternative to AC_CHECK_HEADERS in CMake

Now trying to migrate a project with Autoconf to CMake. A number of questions. 1. What to do with the constructions AC_CHECK_HEADERS(stdio.h the stdlib.h string.h) clearly, just doing a few calls like check_include_file("stdio.h" HAVE_STDIO_H)But what to do withwith AC_CHECK_HEADERS(resolv.h, [], [], [ #ifdef HAVE_SYS_TYPES...
harrison_Mann asked October 7th 19 at 11:30
1
answer

How to specify to cmake what is the standard c/c++ to use the compiler?

I have the default system code in C compiled in accordance with the C89(gcc), but the pow function appeared only in C99.So I need to collect programme with this standard. The problem is easily solved in qmake in one line: CONFIG += C99 But I would like to know how this is done in cmake?
Jayda asked October 2nd 19 at 13:19
0
answer

Rebuilding dependencies in Xcode — what are the rules?

What rules happens in Xcode, marking the need to rebuild the whole target? The situation is the following: libTarget there is a dependence on scripted automoc_target. In fact, automoc_target generates only 1 file, but for some reason Xcode decides to rebuild polnostu all depends on automoc_target, and further up the chain (...
robert_Erdman asked September 30th 19 at 13:18
1
answer

How to connect cmake projects in emacs?

Hi all. In their projects in C/C++, as a build tool, I use CMake. I used to use QTCreator, which is able automatically pick up the entire project cmake'scripts (navigation/backlight of sintaxis/completion). Now I switched to emacs ispolzovanie and can't find such functionality. There are modules cmake-mode and cmake-projec...
adolph asked September 25th 19 at 21:22
1
answer

Where to get FindGlib.cmake module?

Where do we take relish modules ?
Brain_Zulau asked September 24th 19 at 10:32
2
answers

To connect SDL2 in Cmake?

Hi, I wanted to try to write something on sdl2, downloaded the new ide from jetbrains (сlion), where the default is cmake can't cope. I understand sdl2 needs a separate module, I took it here. Try to do find_package(SDL2 REQUIRED), swears Error:Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDE_DIR) . What does he want...
Amaya_Parisian asked September 24th 19 at 00:25
1
answer

How to compile and assemble the Injector under Windows 8.1?

There is a small app Injector https://github.com/abma/injector I can't understand and make it compile and build under Windows 8.1 as it is described in the readme. I tried to drag the code in Visual C++, but failed - not enough knowledge.
estefania_Metz asked September 24th 19 at 00:20