Re: [CMake] Having problems getting started

2008-03-02 Thread blinkeye
I guess the following would suit your needs too: # AUX_SOURCE_DIRECTORY: Find all source files in a directory. AUX_SOURCE_DIRECTORY(dir VARIABLE) Collects the names of all the source files in the specified directory and stores the list in the variable provided. This command is intended to

Re: [CMake] Having problems getting started

2008-03-02 Thread Daniel
Arlen Cox wrote: Thanks Mike. That was exactly what I was looking for. -Arlen On Fri, Feb 29, 2008 at 11:20 AM, Mike Jackson <[EMAIL PROTECTED]> wrote: You may want to look at the file(GLOB variable [RELATIVE path] [globbing expressions]...) or file(GLOB_RECURSE variable [RELATIVE path]

Re: [CMake] Having problems getting started

2008-02-29 Thread Arlen Cox
Thanks Mike. That was exactly what I was looking for. -Arlen On Fri, Feb 29, 2008 at 11:20 AM, Mike Jackson <[EMAIL PROTECTED]> wrote: > You may want to look at the > file(GLOB variable [RELATIVE path] [globbing expressions]...) > > or > > file(GLOB_RECURSE variable [RELATIVE path] >[g

Re: [CMake] Having problems getting started

2008-02-29 Thread Mike Jackson
You may want to look at the file(GLOB variable [RELATIVE path] [globbing expressions]...) or file(GLOB_RECURSE variable [RELATIVE path] [globbing expressions]...) if you do a cmake --help-command file a print out of the documentation for that command will be listed. Also, Some

[CMake] Having problems getting started

2008-02-29 Thread Arlen Cox
I'm trying to get started using CMake, but I'm having a couple of issues: 1. Is there some way to use wildcards when specifying files for a library? Something like this: add_library(VSEngine *.cpp) That particular line doesn't work. I tried, but there must be a way that I can add a file to a pr