On poniedziałek, 29 sierpnia 2016 23:31:59 CEST you wrote:
> add_custom_command documentation says:
>
>
> The DEPENDS option specifies files on which the command depends. If any
> dependency is an OUTPUT of another custom command in the same directory
> (CMakeLists.txt file) CMake automatically
Hello,
I have a project that goes something along the lines of:
(...)
add_jar(generator src/javafile.java)
(...)
get_target_property(GENERATOR_PATH generator JAR_FILE)
(...)
add_custom_command
${CMAKE_CURRENT_BINARY_DIR}/generated.cpp
COMMAND ${Java_JAVA_EXECUTABLE -jar ${GENERATOR_PATH} --ou
That did the trick, thanx!
On Mon, Aug 29, 2016 at 12:28 AM, Benjamin Ballet
wrote:
> Create an imported interface instead of a static library. Then you can set
> either INTERFACE_COMPILE_OPTIONS or INTERFACE_LINK_LIBRARIES properties.
>
> 2016-08-27 21:39 GMT+02:00 Yaron Cohen-Tal :
>
>> Hi,
>>
Hmm, you're right, I just tested and it seems the INSTALL_DIR is
ignored or not handled properly, I'm not sure why. But if you use the
CMAKE_ARGS option to manually set
"-DCMAKE_INSTALL_PREFIX=/tmp/Fusion/qhull-2015.2" it works, so at
least there's an easy workaround. Maybe someone else knows how t
So that was a typo on my part but changing it had no effect after
deleting every build/download/tmp/stamp directory and trying again.
--
Michael A. Jackson
BlueQuartz Software, LLC
[e]: mike.jack...@bluequartz.net
Nicholas Braden wrote:
Have you tried changing the = to a space, as with the ot
Have you tried changing the = to a space, as with the other parameters?
On Mon, Aug 29, 2016 at 10:52 AM, Michael Jackson
wrote:
> I have the following CMake file:
>
> set(QHull_GIT_REPO "git://github.com/qhull/qhull")
> set(QHull_GIT_TAG "")
> set(QHull_INSTALL_NAME "qhull")
> set(QHull_INSTALL_
I have the following CMake file:
set(QHull_GIT_REPO "git://github.com/qhull/qhull")
set(QHull_GIT_TAG "")
set(QHull_INSTALL_NAME "qhull")
set(QHull_INSTALL_NAME "qhull-2015.2")
ExternalProject_Add(${QHull_INSTALL_NAME}
PREFIX ${Fusion_SDK_ROOT}
URL "http://www.qhull.org/download/qhull-2015-
Hey,
I’ve try to get ctest running with my existing gtest-tests. I have my own
findGTest, but should make no difference.
My Problem is that I can’t see the RUN_TESTS target (I’m using Visual
Studio).
I follow the following tutorialhttps://
cmake.org/Wiki/CMake/Testing_With_CTest
I’m start using
Nicholas, you are right. My mistake was that i've used utf8 with BOM, but
visual studio only likes without BOM.
Thx
Am 29.08.2016 09:47 schrieb "Nicholas Braden" :
> Are you sure about this UTF16 requirement? I have many projects
> ranging from Visual Studio 2008 to 2015 that use .rc files and a
On , tonka tonka wrote:
> I have a little problem with files which has to be UTF 16 instead of UTF 8,
> f.e. Visual studios .rc files. They must be utf16 and git detect it as bin
> files.
> So my question is: how do you handle these files?
> My rc files has to be generated with configure_file, so m
Are you sure about this UTF16 requirement? I have many projects
ranging from Visual Studio 2008 to 2015 that use .rc files and all of
them are ANSI/UTF8.
On Mon, Aug 29, 2016 at 2:43 AM, tonka tonka wrote:
> Hey,
>
> I have a little problem with files which has to be UTF 16 instead of UTF 8,
> f.
Hey,
I have a little problem with files which has to be UTF 16 instead of UTF 8,
f.e. Visual studios .rc files. They must be utf16 and git detect it as bin
files.
So my question is: how do you handle these files?
My rc files has to be generated with configure_file, so my hope was that
configure_fi
AFAIK, there is also a global CMAKE_POSITION_INDEPENDENT_CODE that is
used to derive the target-specific value of POSITION_INDEPENDENT_CODE.
If you wanna use fPIC for all your targets, you may wanna consider
set(CMAKE_POSITION_INDEPENDENT_CODE ON).
Best,
P
--
Powered by www.kitware.com
Please
13 matches
Mail list logo