Re: [cmake-developers] Adding Swift support to CMake for Linux/Makefiles

2016-01-07 Thread Eric Wing
On 12/24/15, Eric Wing  wrote:
>> set(SWIFT_BRIDGING_HEADER SwiftSDL-Bridging-Header.h)
>
> Quick addendum: Just realized the bridging header should probably be
> per-target.
>

For reference, we have an Xcode specific, per-target variable for the
bridging header: XCODE_ATTRIBUTE_SWIFT_OBJC_BRIDGING_HEADER.

set_property(TARGET ${BLURRR_USER_EXECUTABLE_NAME} PROPERTY
XCODE_ATTRIBUTE_SWIFT_OBJC_BRIDGING_HEADER
"${PROJECT_SOURCE_DIR}/source/MySwiftBridgingHeader.h")
-- 

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, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers


[cmake-developers] patch building and testing

2016-01-07 Thread Mike Fitzgerald
Hi cmake-developers,

I'm a bit new to this, so please bear with me!  I wanted to fix an issue
(#13666), so I did the following:

1.) Cloned the git repo, ran bootstrap and make.
2.) Wrote some code in cmVisualStudio10TargetGenerator.cxx.

Running make again didn't seem to recompile anything, which seemed
strange.  Am I meant to run bootstrap (or bin/cmake, I guess) each time I
want to recompile?  The relationship of these tools and the source files
isn't clear to me.

Once I recompile, I want to make sure I didn't break anything.  There
appears to be a full suite of tests in the Tests folder, but how exactly do
I run them, and from where?  I couldn't find instructions for this on the
wiki or in source.  The README in the Tests folder mostly concerns how to
add a test, not run the existing ones.

Thanks for the help (and patience)!

- Mike
-- 

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, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers