Hi,
I have a project with lots of c files that I am trying to place under
Cmake. And, I must say , it is working really well ! But ... Since there
are lots of c files, the list of possible targets returned by
'make help', after running cmake, is rather useless (unless run though
'head -8' or
Atwood, Robert C wrote:
Hi,
I have a project with lots of c files that I am trying to place under
Cmake. And, I must say , it is working really well ! But ... Since there
are lots of c files, the list of possible targets returned by
'make help', after running cmake, is rather useless (unless run
Hi Robert,
I had no idea those targets existed. I would find them useful,
especially if the .o files went to a deterministic location.
How about doing this?
make help | grep -v '\.[sio]$'
So that you only see your desired targets.
Juan
Bill Hoffman wrote:
Atwood, Robert C wrote:
Hi,
I
Robert,
I used to have the same problem until I restructured my project. The trick is
NOT to list source files in the top-level CMakeLists.txt file.
For example, this will give you a list of intermediate targets (.o .i .s) in
the help:
#---
# Top-level CMakeLists.txt
-Original Message-
From: Juan Sanchez
Hi Robert,
I had no idea those targets existed. I would find them useful,
especially if the .o files went to a deterministic location.
I observe that when using cmake, they do indeed go into a deterministic
loaction, that is
-Original Message-
KSpam
Subject: Re: [CMake] Can Make help be set less verbose?
Robert,
I used to have the same problem until I restructured my
project. The trick is
NOT to list source files in the top-level CMakeLists.txt file.
Yes, that will help eventually and I had