e is an
existing mechanism.
--Thanks
Abe
On Oct 23, 2008, at 2:19 AM, Mathieu Malaterre wrote:
On Thu, Oct 23, 2008 at 5:53 AM, Abe Stephens <[EMAIL PROTECTED]>
wrote:
Hi, Is it possible for a script executed during build (via custom
command of
cmake -P) to load and read values fro
Hi, Is it possible for a script executed during build (via custom
command of cmake -P) to load and read values from the project's
CMakeCache.txt file? I tried using load_cache in the script, but
apparently that isn't allowed.
Thanks-
Abe
___
CMa
If you can get a list of dependencies from the shader compiler, it's
possible to parse that list into something cmake can use. We did this
with the output of "nvcc -M" for FindCuda.cmake:
https://code.sci.utah.edu/svn/people/abe/code/CMake-cuda/CMake/cuda/make2cmake.cmake
Abe
On Nov 20, 200
Hi, I have a custom build macro which runs an external compiler to
produce a dependency file which is converted into a cmake dependency
list. When my macro is used in visual studio, the auto-generated
dependency file is listed in the solution tree along side the
external source file that wa
Is there a way to pass command line arguments into variables when using
"cmake -P"?
I tried "cmake -P foo.cmake -D var=value" but that didn't work. I could
do it using configure file, but that seems overly complicated.
Thanks-
Abe
___
CMake mailing
How can I add any old file to the solution explorer panel in visual
studio? The .i files used by the swig module show up quite nicely but I
can't follow what's going on in that script closely enough to figure it out.
In the example below, is it possible to have ${source_file} show up in
the
Tristan Carel wrote:
The synopsis of `SWIG_LINK_LIBRARIES' macro is:
SWIG_LINK_LIBRARIES(module_name library [library...])
So try this:
SWIG_LINK_LIBRARIES(glm ${PYTHON_LIBRARIES} glm )
Whoops, that was a typo in the email on my part. I am specifying the
target name as the first argument.
Th
Hi,
This might be a pretty easy question. I'm porting some code from my
usual linux/osx development environment to WindowXP. I have a library
called "glm" which builds lib/glm.dll. That appears to work.
If I try to use that library in a SWIG_LINK_LIBRARIES directive, I get
an error that "gl
Hi,
I have a CMake build for a project. The project contains several
directories (included with the SUBDIRS command). One of these
directories has the same name as a library that I search for using
FIND_LIBRARY. For some reason, cmake returns the path to this
subdirectory instead of the path
Axel Roebel wrote:
Hello,
On Wednesday 27 September 2006 07:49, [EMAIL PROTECTED] wrote:
I don't think it matters whether the static library is linked with an
executable or a shared library. Certainly linking to an external shared
library has worked for me recently without me hav
Alan W. Irwin wrote:
On 2006-09-26 17:06-0600 Abe Stephens wrote:
When I build object files for shared library targets cmake includes
the position independent code flag (-fPIC). However when I build
objects for static library targets the flag is omitted. I try to link
the static lib to other
When I build object files for shared library targets cmake includes the
position independent code flag (-fPIC). However when I build objects for
static library targets the flag is omitted. I try to link the static lib
to other objects in a shared library the linker chokes.
How can I explicit
as the project configure too.
Thanks--
Abe
Brad King wrote:
Abe Stephens wrote:
How can I have a CMake script run if a certain non-source file has
changed since the last project build?
I have a script which extracts some revision information from "svn info"
and place
How can I have a CMake script run if a certain non-source file has
changed since the last project build?
I have a script which extracts some revision information from "svn info"
and places it in a source file via CONFIGURE_FILE. I'd like this script
to be executed during build every time the
14 matches
Mail list logo