>
> When I ran "cmake .." in bin, cmake complained that it could not find
> source file src1.h in add_executable. What is wrong here?
>
Hi Lei,
Alex hit several of these points, but to wrap it up together:
A couple of things...
- There's no need for a CMakeLists.txt in a directory if it's not
Forwarding to the list and replying to some parts.
> I removed add_subdirectories and added path to each of the source
> file according to your instruction and things worked! I just have a
> quick question: why should I remove the add_subdirectories in the src
> CMakeLists.txt? I thought add_subdi
> Toplevel
>
> |- CMakeLists.txt
>
> |- src |--CMakeLists.txt
>
> |
> |--common---|---CMakeLists.txt
>
> | |--dir1-|
> |--- src1.h
>
> |
Hi,
I tried to follow some examples and wrote some cmake files to build my
code. But cmake is complaining that it cannot find a source file. Here is the
code structure:
Toplevel
|- CMakeLists.txt
|- src |--CMakeLists.txt
|
On 24 June 2017 at 05:06, Sean Wayland wrote:
> Hi all,
> I am having trouble getting an application to build.
> I keep getting this error "cannot find source file"
>
>
> /Users/seanwayland/Desktop/CATSMAT-masterfri/catsmat/catsmat/Analysis/src/*.cpp
>
> This is the first folder containing sources
Hi all,
I am having trouble getting an application to build.
I keep getting this error "cannot find source file"
/Users/seanwayland/Desktop/CATSMAT-masterfri/catsmat/catsmat/Analysis/src/*.cpp
This is the first folder containing sources and when it doesn't find
anything here it stops.
There are
On 05/27/2011 11:46 AM, Michael Wild wrote:
> On 05/26/2011 06:45 PM, aaron_wri...@selinc.com wrote:
>>> From: Michael Wild
>>> To: cmake@cmake.org
>>> Date: 05/25/2011 10:08 PM
>>> Subject: Re: [CMake] Cannot find source file: *.rc
>>> Sent by: cma
On 05/26/2011 06:45 PM, aaron_wri...@selinc.com wrote:
>> From: Michael Wild
>> To: cmake@cmake.org
>> Date: 05/25/2011 10:08 PM
>> Subject: Re: [CMake] Cannot find source file: *.rc
>> Sent by: cmake-boun...@cmake.org
>>
>> On 05/25/2011 11:40 PM, aaron_
> From: Michael Wild
> To: cmake@cmake.org
> Date: 05/25/2011 10:08 PM
> Subject: Re: [CMake] Cannot find source file: *.rc
> Sent by: cmake-boun...@cmake.org
>
> On 05/25/2011 11:40 PM, aaron_wri...@selinc.com wrote:
> > I use mc.exe to generate an *.rc file and
On 05/25/2011 11:40 PM, aaron_wri...@selinc.com wrote:
> I use mc.exe to generate an *.rc file and some headers for my program.
> The *.rc file is listed as an output of a custom command and as a source
> to an executable. During configuration CMake tells me it can't find a
> source file and lists
I use mc.exe to generate an *.rc file and some headers for my program. The
*.rc file is listed as an output of a custom command and as a source to an
executable. During configuration CMake tells me it can't find a source
file and lists the *.rc file. I've check the generated property of the
*.r
I would contend that this should be a warning vs. an error, which
prevents generation.
Cheers,
Tim
On Thu, Dec 10, 2009 at 3:18 PM, Alexander Neundorf
wrote:
> On Thursday 10 December 2009, Tyler Roscoe wrote:
>> On Thu, Dec 10, 2009 at 02:14:28PM -0600, Tim St. Clair wrote:
>> > Do all files *h
On Thursday 10 December 2009, Tyler Roscoe wrote:
> On Thu, Dec 10, 2009 at 02:14:28PM -0600, Tim St. Clair wrote:
> > Do all files *have* to be present during generation? Or is there some
> > lazy evaluation?
>
> Look at the GENERATED property for source files.
>
> > The file it is looking for is
On Thu, Dec 10, 2009 at 02:14:28PM -0600, Tim St. Clair wrote:
> Do all files *have* to be present during generation? Or is there some
> lazy evaluation?
Look at the GENERATED property for source files.
> The file it is looking for is one of many gen'd files. It would be a
> pain if I had to upd
Do all files *have* to be present during generation? Or is there some
lazy evaluation?
The file it is looking for is one of many gen'd files. It would be a
pain if I had to update all the command outputs in order to create the
deps.
--
Cheers,
Timothy St. Clair
_
I am guessing here, but I _think_ cmake really wants a .cpp/cxx/c
file instead of a header file.
--
Mike Jackson Senior Research Engineer
Innovative Management & Technology Services
On Feb 29, 2008, at 11:21 AM, Dario Figueira wrote:
ADD_LIBRARY (sift_h common.hpp)
_
Simply, in a subdirectory: ADD_LIBRARY (sift_h common.hxx)
and altho the file "common.hpp" is there, he returns
'Cmake cannot find source file ".../.../common.hxx" for target "sift_h"
tried extensions ... .hpp ...'
if i change the CMakeLists in that subdir
17 matches
Mail list logo