Questions tagged [CMake] (90)

1
answer

Why not the linker sees the definition of class methods?

Hello! I am learning STL containers in C++ and do implement them. I use a framework for testing the Boost(I have it installed globally). But somehow in my test (test/main.cpp) Device does not see the definition of the class my_vector. Here is what displays Device: ====================[ Build | test1 | Debug ]===============...
kirstin.Collins asked April 7th 20 at 09:07
1
answer

How to connect bibliotecha to the project Qt Creator?

Please tell me how this thing (MTParser) to connect to the project.
macie_Prosacco88 asked April 4th 20 at 12:31
2
answers

How to connect a third-party library to a Qt project using CMake?

Created a project in the CMake system.Open CMakeLists.txt:cmake_minimum_required(VERSION 3.5) project(yfx LANGUAGES CXX) set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_AUTOUIC ON) set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXXSTANDARD_REQUIRED ON) find_package(Qt5 COMSHAREDPONENTS Widg...
dee asked April 4th 20 at 12:25
3
answers

How to build the library .lib [muParser]?

I need to connect the library muParser (GitHub) to the project Qt Creator.In the file Install.txt read:1. Installation on win32 ======================== muParser supports various win32 command-line compilers: -> mingw -> watcom -> microsoft CL and provides also the project files for MSVC6 IDE. In order to compi...
Kristian_OConner asked April 4th 20 at 12:22
2
answers

How to execute bash script after compiling using CMake?

Is there a way to execute a shell script after compilation is complete?
walton asked April 4th 20 at 12:11
2
answers

How to build nginx with lua?

On a mission to build nginx with lua support. After installing the base dependencies and swap the modules, go to configure:./configure \ --with-cc-opt='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security-D_FORTIFY_SOURCE=2' \ --with-ld-opt='-Wl,-Bsymbolic-functions -Wl,-z,relro' \ --sbin-...
sylvan62 asked April 4th 20 at 01:49
0
answer

How to integrate cmake, Visual Studio 2019?

Every time after changes, for example new resources need to run CMake from the console to rebuild .sln file, so that new resources have appeared in solyushene. Tried to follow the guide on MSDN Item Building CMake projects 1 - Configurations this is not 2 - Build, right-click on CMake.txt no apicii 3 - Build All (F7 or Ctrl...
shanny.Swaniawski10 asked April 3rd 20 at 17:49
1
answer

Build tools v141 can not be found?

Released recently a new cocos2d, set the demo project and are now trying to collect. In the 3rd version once already .sln file, then you should use a third-party collector CMake. Follow the documentation https://github.com/cocos2d/cocos2d-x/tree/v4/cmakecd cocos2d-x mkdir win32-build && cd win32-build .. cmake-G"Vis...
Eusebio.Ortiz asked April 3rd 20 at 17:41
0
answer

The CMake build to work with the Arduino Device?

CMakeLists.txt cmake_minimum_required(VERSION 2.8.4) set(ARDUINO_SDK_PATH ${CMAKE_SOURCE_DIR}/Arduino) set(CMAKE_TOOLCHAIN_FILE ${CMAKE_SOURCE_DIR}/cmake/ArduinoToolchain.cmake) set(CMAKE_CXX_STANDARD 98) set(PROJECT_NAME nfcrfid) project(${PROJECT_NAME}) set(${PROJECT_NAME}_BOARD uno) # set(${<@PROJECT_NAME@>}_SRCS) ...
Teresa_Leffl asked March 31st 20 at 15:41
1
answer

How to compile library for Qt under windows?

Suppose there is a library in C++ - openbabel I need to compile it to connect to the qt project I downloaded it and Rosaryville (openbabel-openbabel-2-4-0.zip) Trying to compile as there are not written out My question is a bit similar to this , but still it did not help me to understand Need to work on the following plat...
lulu_Hans asked March 31st 20 at 14:59