Am Dienstag, 24. Juni 2014, 22:32:22 schrieb Glenn Coombs:
> This seems to be the recommended way to link against the zlib library:
>
> find_package(ZLIB)if (ZLIB_FOUND)
> include_directories(${ZLIB_INCLUDE_DIRS})
> target_link_libraries(MyProg ${ZLIB_LIBRARIES})
> endif()
>
> When I run
This seems to be the recommended way to link against the zlib library:
find_package(ZLIB)if (ZLIB_FOUND)
include_directories(${ZLIB_INCLUDE_DIRS})
target_link_libraries(MyProg ${ZLIB_LIBRARIES})
endif()
When I run this on linux I see that ZLIB_LIBRARIES has the value
/usr/lib64/libz.so.
Hi Angeliki,
CMAKE_CURRENT_BINARY_DIR in my case is
/import/home/yury.alioshinov/linux_i686/lua_libs/Source/__build__/engine/
but object files are located in
/import/home/yury.alioshinov/linux_i686/lua_libs/Source/__build__/engine/CMakeFiles/lua_engine.dir
Now I use construction:
"${CMAKE_CURRE
Answered on stack overflow. Copied/pasted here for mailing list
archives:
The references that get_prerequisites returns are not absolute full
path references, and they are also not resolve-able to absolute
references via a simple get_filename_component call. (On Mac, they may
contain @executa
Hi Haster,
Maybe CMAKE_CURRENT_BINARY_DIR could help you? Look at its description
here: http://www.cmake.org/Wiki/CMake_Useful_Variables
Cheers!
Angeliki
On Tue, Jun 24, 2014 at 1:51 PM, Haster wrote:
> Hi folks,
> I have such problem:
>
> I build different C/C++ programs with gcc and use -f
Hi folks,
I have such problem:
I build different C/C++ programs with gcc and use -fprofile-arcs
-ftest-coverage options to generate .gcno files (to use them with gcov)
So this files are created in directory there object files are created and I
have to include them to distib.
But I can't corre
Hi
Is there a canonical example of using CMake to drive IDL compilation,
and resource compiling and the conversion to object, for an in-process
COM server?
Ideally, I'd like to be able to use the free equivalents and gcc as an
alternative and switch between them (as well as the Windows SDK t
Dear list members,
we have set up a cmake project with external shared library dependencies.
We want to package the binaries and dependencies of our project using
CPack. However we are getting different results on windows and linux
systems when trying to find dependencies of our targets.
We had a
Dear Users,
I'm trying to cross compile with clang. I set cmake_compiler,
cmake_linker, etc.
During the linking CXX executable all flags, libs, files, etc. are
getting from somehow created file ./Main/CMakeFiles/Build.dir/link.txt.
The problem is, that when I change linker by setting
CMAKE_