On So, 18.09.2011 16:37:31, Perry Ismangil wrote:
On of our project, one of the header file included in the project is
deliberately missing, the user have to manually create it before
building for the first time.
Do you want the user to manually add the header, or do you want cmake
to create
Hi,
Am Mittwoch, 18. August 2010 schrieb Nils:
1. Is there a way to tell find_package to only look for 32bit libs?
2. Is there a way to tell find_package to look only in a specific
path?
Findpackage is just a normal cmake script running find_library.
So you could copy FindGtest.cmake to your
Hi again,
Am Sonntag, 13. Juni 2010 schrieb Michael Hertling:
SET(var1 ${var1} PARENT_SCOPE)
Thank you; that completey solved it!
Thanks again,
C.M.
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
Hello list,
A varible ${var1} can be accessed in any subdirectory’s
CMakeLists.txt.
However, if those files change ${var1} these changes are not
accessible from the directory above.
Is there any possibility of getting this done, anyway?
I need to provide easy adding for source files to the
Hello Lists,
I have lots of small libraries and sometime it is needed to unify them to a
main program library e.g. libtest.so for my test program…
I tried
ADD_LIBRARY(test-mainlib SHARED )
SET_TARGET_PROPERTIES( test-mainlib PROPERTIES OUPUT_NAME libtest )
But this does not work due to Cannot
Hello,
thx for your reply…
Am Dienstag, 9. Februar 2010 schrieb Michael Wild:
What is it exactly you are trying to achieve?
Well, you got me perfectly right…
I like to have all symbols in my static libraries included as is… :-)
IMHO this can't possibly work. I assume that you want to create a
Hello Liu,
However, after ccmake and then make, I got the error:
main.cxx:(.text+0x10a): undefined reference to `func()'
collect2: ld returned 1 exit status
Can you put
SET (CMAKE_VERBOSE_MAKEFILE TRUE)
to your CMakeLists.txt to check what compiler command is run?
bye
C.M.
Hello,
Am Freitag, 8. Januar 2010 schrieb Marcel Loose:
If you've set the flags -foo -bar using add_definitions(), instead of
manipulating CMAKE_C_FLAGS directly, you can use
set_directory_properties(PROPERTIES COMPILE_DEFINITIONS -baz)
Currently I manually set CMAKE_Fortran_FLAGS_DEBUG
Hello,
Is it possible to create a library which itself gets some of its
implementation from another library?
This comes because of some sources files of my library need modules of another
source file in a subdirectory…
Is it considered bad style to build a library out of appr. 5
Hello list,
is there a make or cmake target which cleans all cmake generated files?
(e.g. folder CMakeFiles, cmake_install.make, …)
Would be nice not to be forced doing this manually…
Thanks in advance
C.M.
___
Powered by www.kitware.com
Visit other
Hi,
Am Samstag, 2. Januar 2010 schrieb Pau Garcia i Quiles:
No, there is not. Just use an out-of-source build.
Great help.
Thanks a lot!
C.M.
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
Hello List,
I’m moving my fortran project to cmake…
I have a src directory containing 3 dirs:
main
mod1
mod2
The main program in “main” is to be linked against the libs in “mod1”
and “mod2”.
Additionally “mod2” does need “mod1”, too. (use mod1).
When compiling gfortran says:
Fatal Error:
Hello again,
You helped a lot…
Thank You!
I solved the ordering problem with
“add_dependencies( … )”
Thank you again.
bye
C.M.
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
13 matches
Mail list logo