Code formatting is completely out of scope of building system.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering,
2014-01-31 Leif Walsh leif.wa...@gmail.com:
What would be a good way to run a tool like this just before compiling?
I'd prefer running such a tool *after* compiling.
If you have a syntax error, your sources can be ruinned.
--
Powered by www.kitware.com
Please keep messages on-topic and check
2014/1/20 Rob McDonald rob.a.mcdon...@gmail.com:
We also have an API/Library mode with no main(), but that can have graphics
or not.
So, one will have the library with unpredictable API/ABI?
I'd like to use CMake to compile both versions of these in one go. However,
I don't see any way to
2013/10/19 Magnus Therning mag...@therning.org:
Is it possible to put the include path in some property on the library
as well, to avoid using a separate variable for that?
SET_TARGET_PROPERTIES (target PROPERTIES VARIABLE-NAME VARIABLE-VALUE)
--
Powered by www.kitware.com
Please keep
I use this:
SET (ZLIB_DIR ${CMAKE_CURRENT_LIST_DIR}/bin/${TARGET_ARCH})
SET (ZLIB ${ZLIB_DIR}/libz.so)
IF (NOT EXISTS ${ZLIB} OR ALWAYS_BUILD_EXTERNAL)
ADD_LIBRARY (z SHARED
${CMAKE_CURRENT_LIST_DIR}/src/adler32.c
${CMAKE_CURRENT_LIST_DIR}/src/compress.c
)
if (NOT HAVE_PTHREAD_JOIN)
message (FATAL_ERROR Cannot find library providing pthread_join())
endif()
MY_LINK_LIBRARIES (aaa
${LIB_DLADDR}
${LIB_PTHREAD}
dwarf
lzma
)
2013/9/9 Stewart, Robert robert.stew...@sig.com:
Игорь Пашев wrote:
Hi, all. I'm using this macro to get AC_SEARCH_LIBS
Hi, all. I'm using this macro to get AC_SEARCH_LIBS (from GNU autoconf)
functionality with CMake.
First of all, this macro searhes the function on libc, then, if not found, in
the given libraries. It sets two variables: 1) boolean if function found
2) string - in which library (may be empty).