Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Login
Remember
Register
Ask
Q&A
All Activity
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
Categories
All categories
Topic[话题] (13)
Life[生活] (4)
Technique[技术] (2.1m)
Idea[创意] (3)
Jobs[工作] (2)
Others[杂七杂八] (18)
Code Example[编程示例] (0)
Recent questions tagged CMAKE
0
votes
1.4k
views
1
answer
cmake - Set CXX-standard to c++17 when combining C++ and CUDA in CMakeLists
According to the documentation of CMake I just have to write project(${PROJECT_NAME} LANGUAGES CUDA CXX) ... (CUDA) and cuda_add_executable? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
757
views
1
answer
cmake invoking dynamic macro name
I have a two macro names, for example: macro(my_macro1) # stuff only to use in this macro endmacro() macro( ... this is my idea Any help? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
1.8k
views
1
answer
cmake - "no known features for CXX compiler" when compiling with MSVC++ 2013
I have a relatively simple CMakeLists.txt that contains the following line(s): target_compile_features( ... support target_compile_features). See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
686
views
1
answer
cmake - Visual Studio 2015 Win64 hangs during solution build
I'm trying to build some third party libraries from source using Visual Studio 2015. I'm creating the ... gotten the same hanging issue. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
950
views
1
answer
cmake - How to pass an environment variable to ExternalProject_Add CONFIGURE_COMMAND?
I have a third party library with autotools project. I want to use ExternalProject_Add to build ... ExternalProject_Add/CONFIGURE_COMMAND ? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
958
views
1
answer
cmake - Building massif-visualizer: include could not find load file CMakeFindDependencyMacro
I am attempting to build massif-visualizer on CentOS 7. Unfortunately I'm having to try to guess at dependencies ... old? Or something else? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
818
views
1
answer
cmake - target_include_directories prior to 2.8.12?
Our CMakeList.txt had a target_include_directories creep in. It broke our downlevel clients, like Ubuntu LTS, CentOS and ... .8.11 and earlier? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
764
views
1
answer
cmake - Different compile flags for same file in different targets
I would like to include a .cpp-file in two different targets (becoming two VS projects after running CMake). I ... there a way to solve this? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
660
views
1
answer
cmake project build only one specific executable (and its dependencies)
I have a CMake Project with roughly this structure: . |-- library1 | |-- CMakeLists.txt |-- library2 | |-- ... to work with cmake/3.13.4. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
1.1k
views
1
answer
cmake using find_package() cross compiling
I am using CMake with a custom toolchain that I built using yocto. I have a problem though, the toolchain has ... look in the target sysroot? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
939
views
1
answer
cmake - How to set include_directories from a CMakeLists.txt file?
I seem to be having trouble setting the include path (-I) using the include_directories() command in CMake. My ... that helped but no luck. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
1.0k
views
1
answer
cmake - Adding a custom command with the file name as a target
I'd like to do something like add_custom_command, with the output file name as a target in the generated ... dependency in the makefile. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
754
views
1
answer
cmake run script for install target?
I have a project where "installing" the code is not quite as simple as just copying some files. With a ... any examples of something like this? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
837
views
1
answer
cmake - How to clear/delete a cache variable
Trying to get find_path to do what I want. find_path(temmp include/help.h) message("temmp= ${temmp}") help. ... the find_path to run again.) See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
1.1k
views
1
answer
cmake execute_process() always fails with "No such file or directory" when I call git
On a linux machine, from a cmake project, I'm trying to call git using execute_process so that I can include info ... of what I'm missing here? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
741
views
1
answer
cmake - How to prepend all filenames on the list with common path?
How can I prepend all filenames on the list with a common path prefix automatically? For instance having a list ... create new list of files? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
629
views
1
answer
cmake - How to prepend all filenames on the list with common path?
How can I prepend all filenames on the list with a common path prefix automatically? For instance having a list ... create new list of files? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
631
views
1
answer
cmake - How to specify imported dependencies of an OBJECT library?
I have an OBJECT library objlib which is linked into the main target maintarget. The objlib has a dependent library, ... Is there a better way? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
974
views
1
answer
cmake - what is the difference between find_package and pkg_search_module
All I can say about those commands right now is pkg_search_module has some odd usage, where I have to write the ... does not work all the time See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
731
views
1
answer
cmake - Should I cache CMAKE_BUILD_TYPE?
If you don't set the CMAKE_BUILD_TYPE, then, by default, it doesn't get cached. Should I cache it? e.g. ... ) Or does it not really matter? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
575
views
1
answer
cmake - Can one add further source files to an executable once defined?
Given I have defined an executable with its main source file in a CMakeList.txt file: ADD_EXECUTABLE( ... included CMakeList.txt file? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
843
views
1
answer
cmake - Getting imported targets through `find_package`?
The CMake manual of Qt 5 uses find_package and says: Imported targets are created for each Qt module. Imported ... a imported target is created. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
784
views
1
answer
cmake - How can I add a minimum compiler version requisite?
I want to create a project in C++11 and I use CMake as my build system. How can I add a minimum ... version requisite in the CMake config files? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
566
views
1
answer
cmake - What are CMAKE_BUILD_TYPE: Debug, Release, RelWithDebInfo and MinSizeRel?
From the docs page: CMAKE_BUILD_TYPE Specifies the build type on single-configuration generators. This statically ... I choose Release? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
740
views
1
answer
cmake - Difference between CMAKE_CURRENT_SOURCE_DIR and CMAKE_CURRENT_LIST_DIR
From the Wiki: CMAKE_CURRENT_SOURCE_DIR this is the directory where the currently processed CMakeLists.txt is located ... hold different values? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
1.6k
views
1
answer
cmake - Check for working C compiler: "cl.exe - skipped" : Visual Studio 2019
When running my build script that uses cmake I am getting the following output during the build process: ****** ... skipped" instead of "works"? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
904
views
1
answer
cmake - How do I get CLion to run an install target
I'm evaluating CLion 1.2.1 on an existing project which is already using CMake. The project is made up of a ... 'clean' which is not right. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
0
votes
914
views
1
answer
cmake - target_compile_options() for only C++ files?
Is it possible to use target_compile_options() for only C++ files? I'd like to use it for a target ... through cmake's packages system. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
cmake
Page:
1
2
3
4
next »
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question
Just Browsing Browsing
[1] 修改嵌套数组里面的某个属性值
[2] yarn android时,获取连接报错
[3] Why the Facebook login popup opened on an external web browser app on my android device
[4] python - Why is this PyGTK menu empty?
[5] concatenation - Insert Dynamic Value in URL from a Cell in Google Sheet
[6] hibernate - I get a stackOverflowError when trying to generate a very large PDF file in Java
[7] sql - PHP MySQL Admin Query Assistance
[8] How does one apply a one way decrease in opacity along a curved line geometry in three.js?
[9] java - NetBeans Platform: How to disable specific options dialog categories?
[10] java 源码翻译成字节码 空间是不是变大了?
2.1m
questions
2.1m
answers
60
comments
57.0k
users
Most popular tags
javascript
python
c#
java
How
android
c++
php
ios
html
sql
r
c
node.js
.net
iphone
asp.net
css
reactjs
jquery
ruby
What
Android
objective
mysql
linux
Is
git
Python
windows
Why
regex
angular
swift
amazon
excel
algorithm
macos
Java
visual
how
bash
Can
multithreading
PHP
Using
scala
angularjs
typescript
apache
spring
performance
postgresql
database
flutter
json
rust
arrays
C#
dart
vba
django
wpf
xml
vue.js
In
go
Get
google
jQuery
xcode
jsf
http
Google
mongodb
string
shell
oop
powershell
SQL
C++
security
assembly
docker
Javascript
Android:
Does
haskell
Convert
azure
debugging
delphi
vb.net
Spring
datetime
pandas
oracle
math
Django
联盟问答网站-Union QA website
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
DevDocs API Documentations
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
在这了问答社区
DevDocs API Documentations
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
DevDocs API Documentations
广告位招租
...