[Cmake] Including source files from higher-level directories.
Brad King
brad.king at kitware.com
Fri Aug 3 15:38:12 EDT 2001
> I am using CMake in the MSVC environment and wanted to know if there
> is a way to include source files present in higher-level directories?
You can specify the full path to a source file like this:
SOURCE_FILES(Foo_SRCS
localSource1
localSource2
${MYPROJECT_SOURCE_DIR}/Other/Path/remoteSource
)
You could also specify a hard-coded full path, but that wouldn't be very
portable :)
> Secondly, where can I get a list of newly added commands (if any) ?
Newly since when? When you do a CVS update on CMake, you should see a new
file called cmFooCommand.h if a command "FOO" was added. Also, when we do
a new binary release for windows, the documentation on the web page should
list new commands.
-Brad
More information about the CMake
mailing list