Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
4k views

I am customizing qgis source code that builds through cmake. It has a source tree with many sub directories(with sub-directories withinin them aswell). The whole source tree is divided into modules ...
ashishsony's user avatar
  • 2,607
3 votes
5 answers
11k views

I'm looking for a regex to match every file begining with a "." in a directory. I'm using CMake (from CMake doc : "CMake expects regular expressions, not globs") and want to ignore every file ...
claf's user avatar
  • 9,293
86 votes
7 answers
135k views

Copying directory from source tree to binary tree. For example: How to copy www to bin folder. work ├─bin └─src ├─doing │ └─www ├─include └─lib Thanks.
Jiang Bian's user avatar
  • 2,083
23 votes
2 answers
24k views

I'm wondering how I can use bash command in CMakeLists.txt. What I want is to get the number of processor retrieved using : export variable=`getconf _NPROCESSORS_ONLN` and set NB_PROCESSOR to ...
claf's user avatar
  • 9,293
5 votes
3 answers
13k views

I'm looking for a way to automatically generate a header file. This file is the public interface of a library and i want to "fill" some structures and stuff before compilation. For example, in the ...
claf's user avatar
  • 9,293
27 votes
1 answer
18k views

I am getting the following error from CMakeSetup on our source tree: CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: ...
UltraNurd's user avatar
  • 1,334
30 votes
9 answers
26k views

I'm using cmake for managing my cross-platform builds, and I have everything worked out except for this problem. I set RUNTIME_OUTPUT_DIRECTORY to a bin/ directory where I have data files stored. On ...
thekidder's user avatar
  • 3,604
7 votes
4 answers
5k views

I am using some features that are provided in GCC v4+ and would like CMake to find GCC v4 compiler and if it does not find it, return an error stating GCC v4 is required. Anyone have any modules / ...
RishiD's user avatar
  • 2,198
19 votes
1 answer
21k views

I am using cmake to build my project. For UNIX, I would like to type make from my project's root directory, and have cmake invoked to create the proper Makefiles (if they don't exist yet) and then ...
strager's user avatar
  • 90.3k
-1 votes
6 answers
2k views

Here's another problem with qt: I extend a QAbstractTableModel, but I get a compiling error ( I'm using cmake) // file.h #ifndef TABLEMODEL_H #define TABLEMODEL_H #include <QAbstractTableModel>...
JuanDeLosMuertos's user avatar
125 votes
12 answers
107k views

I have seen a few (old) posts on the 'net about hacking together some support for pre-compiled headers in CMake. They all seem a bit all-over the place and everyone has their own way of doing it. What ...
Glutinous's user avatar
  • 1,251

1
584 585 586 587
588