Re: [CMake] swig - how do I set compile flags on the generated files?

2012-11-29 Thread felix
you may use set_source_files_properties( ${swig_generated_file_fullname} PROPERTIES COMPILE_FLAGS "-w" ) see cmake --help-module UseSWIG -- View this message in context: http://cmake.3232098.n2.nabble.com/swig-how-do-I-set-compile-flags-on-the-generated-files-tp7582494p

[CMake] Command line cmake not picking up variable that gets picked up in the GUI

2012-11-29 Thread katie outram
I am trying to automate my build process and before going down this path, I set up findMYCODE script that requires a variable CODE_BUILD_DIR that the user defines.This variable is the build directory for another code base that my current code base is dependent on. When I run CMAKE in the gui

[CMake] Reminder: FOSDEM CrossDesktop DevRoom 2013 - Call for Talks

2012-11-29 Thread Pau Garcia i Quiles
Hello, The Call for Talks for the CrossDesktop DevRoom at FOSDEM 2013 is officially open and will close in two weeks (Dec 14th). Cros-platform/cross-compiler build systems are not easy to implement and maintain. Can you offer some insight? Please submit your talk proposals ASAP! --8<--- * FOSDE

[CMake] target_link_libraries must have been created in the current directory?

2012-11-29 Thread Abe Bachrach
In the cmake documentation for target_link_libraries() it says that: > The named must have been created in the current directory by a > command such as add_executable or add_library. Can someone provide a reason for that, and is there a work-around? We have a large project that is composed o

Re: [CMake] How to check for a symbol that requires two header files in CMake?

2012-11-29 Thread Martin Sustrik
On 29/11/12 08:25, Sergei Nikulov wrote: Have you tried as per documentation provide list of files? check_symbol_exists (getifaddrs "sys/types.h;ifaddrs.h" SP_HAVE_IFADDRS) I was sure I've tried it and it failed. However, now it works perfectly. I must have done something wrong before. Th