> On 20 Mar 2015, at 08:58, Michael Jackson wrote:
>
> to support Retina displays for our app. Should I just create my own template
> .plist file and use "configure_file" to add items into the file?
You can do something like:
# in our local CMakeModules dir
add MyBundleInfo.plist.in in CMake
Our tests are in a custom system, but I think you can figure from the snippet.
ADD_CUSTOM_COMMAND(
OUTPUT : ${testName}.xml
DEPENDS ${TEST_EXECUTABLE} ...
COMMAND ${TEST_EXECUTABLE}
ARGS --gtest_output="xml:${testName}.xml"
)
From: CMake [mailto:cmake-boun
I use google test, which can output XML/Junit style (we have another reporting
system, so junit isn't necessary)..
However, what "Cmake" rules do you use to have to have the test dependent on
the output file, and not the running of the test?
Scott
From: Miller Henry [mailto:millerhe...@johndee
I have setup our unit tests to output a junit report, and the junit report is
what is in the all target. Thus my unit tests don't run on a make install if
they have run during the original make. If anything was rebuilt during the make
install only the affected tests are run.
This of course dep
In that case, you may want to play around with COMPILE_OPTIONS, which is
target-specific, and generator expressions:
http://www.cmake.org/cmake/help/v3.1/prop_tgt/COMPILE_OPTIONS.html
http://www.cmake.org/cmake/help/v3.1/manual/cmake-generator-expressions.7.html#manual:cmake-generator-expressions
Have you looked at CMAKE__FLAGS_, e.g.
http://www.cmake.org/cmake/help/v3.1/variable/CMAKE_LANG_FLAGS_DEBUG.html
I've been using these for exactly the purpose you describe.
Parag Chandra
Senior Software Engineer, Mobile Team
Mobile: +1.919.824.1410
[https://www.ionicsecurity.com/IonicSigHz.p
No, you are dealing with the global flag.
But that's not the way I want to go, because I have several targets and
need serveral compile flags for each target
Am 23.03.2015 um 14:03 schrieb Parag Chandra:
Have you looked at CMAKE__FLAGS_, e.g.
http://www.cmake.org/cmake/help/v3.1/variable/CMA
Hello
Since cmake 2.0 I would like to have the possibilty to add compile flags
for certain configurations.
For linker flags it runs very well with set_targer_properties and
LINK_FLAGS_. But that doesn't wokr for the compile flags.
Exits a possibility in 3.2 meanwhile?
Best regards,
SirAnn