k in its entirety
> >> is supposed to be recursively copied at install time ...
> >>
> >> Are you running on a Mac volume with a case sensitive file system or
> not?
> >>
> >> Are the source header files in question named with the case you've
> >&
ed
> "AnotherHeader.h" and add it into the mix, say listing it first in the
> list of header files?
>
>
>
>
>
> On Tue, Jul 21, 2015 at 12:15 PM, Steven Wilson
> wrote:
> > Not to be picky, but the issue of case sensitivity ignores the original
> > ques
oo.h in the mac, better correct your
> example.
> Am 21.07.2015 5:19 vorm. schrieb "Steven Wilson" <
> steven.wesley.wil...@gmail.com>:
>
>> I've noticed that CMake 3.3.0-rc3 will not install a header file in a Mac
>> OS X framework if the header fil
I've noticed that CMake 3.3.0-rc3 will not install a header file in a Mac
OS X framework if the header file starts with a capital letter (either that
or has the same name as the framework).
For example if I have the following:
set(FOO_HEADER_FILES "foo.h;bar.h;bat.h;Foo.h;Foo.hpp")
add_library(
Ok. Thanks for the help! I'll take a look at bug #14353 as I have time.
On Wed, Jan 29, 2014 at 2:13 PM, Stephen Kelly wrote:
> Steven Wilson wrote:
>
> > "\$<1:strip" -u -r customcommandtest>
> >
> > Note the "\$<1:strip" -u -r c
Consider the following CMakeLists.txt file (on a Mac, 10.9.1, Xcode 5, Unix
Makefiles generator):
cmake_minimum_required(VERSION 2.8.12)
project(CustomCommandTest)
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/test.cpp
COMMAND echo "#include " > ${CMAKE_CURRENT_BINARY_DIR}/test.cpp
COMMA
Where does the Ninja generator currently live? Ie which branch in the
sources, etc? I am keen to see support for the Ninja generator on
Mac/Linux/Windows and would not mind working on it.
Thanks,
Steve
2012/3/8 Peter Collingbourne
> On Wed, Mar 07, 2012 at 07:14:52AM +0100, Nicolas Desprès
Thanks Eric, This solution should work and Unix is the only place where I
need this to happen anyway.
On Fri, Feb 17, 2012 at 12:23 PM, Eric Noulard wrote:
> 2012/2/17 Steven Wilson :
> > I have a large software system that depends on third party libraries.
> The
> > CMake
When building the 2.8.7 CMake sources with the following configuration:
cmake -DCMAKE_BUILD_TYPE:STRING=Release
-DCMAKE_INSTALL_PREFIX:PATH=../path/to/install -DBUILD_QtDialog:BOOL=ON
../cmake
I get the following error when doing a 'make install'
- Installing: /Users/stevew/cmake/tmp/build/../in
FOLDER "value")
In Xcode 4, the FOLDER property arranges the list of project folders in the
project browser. Is there a mechanism for grouping the target names in the
IDE pull down list of build targets?
On Sat, Oct 1, 2011 at 11:57 AM, David Cole wrote:
> On Tue, Sep 2
Using the Xcode generator, the FOLDER property of targets appears to do
nothing. Is this behavior simply a function a Xcode not supporting
groupings of targets or will support be added in 2.8.6?
Thanks,
Steve
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://ww
I haven't done anything with toolchains. I will take a look at the page
and give it a go.
Thanks,
Steve
On Tue, Feb 15, 2011 at 3:16 PM, Peter Kümmel wrote:
> On 15.02.2011 22:52, Steven Wilson wrote:
>
>> In my CMake configuration files I have something like the follo
AL "iOS")
Then when configuring the system I pass -DSYSTEM:STRING=iOS on the command
line (or through a GUI).
For my iOS system I use the makefile generator.
Steve
2011/2/15 Alexander Neundorf
> On Monday 14 February 2011, Steven Wilson wrote:
> > My apologies if this question has
My apologies if this question has been asked and answered previously.I
have a CMake system that I use for cross compilation for iOS software (ie
reset CMAKE_C_COMPILER, etc...). Everything works great, except for the
following usage scenario:
1. configure build system for iOS build.
2. buil
Using set_target_properties() we can set the COMPILE_DEFINITIONS target
property to easily define preprocessor macros for our build. Is there a
mechanism to undefine preprocessor macros (equivalent to -U for many Unix
compilers or /U for Microsoft's compilers)?
Thanks,
Steve
___
The following variables exist for passing parameters to
check_c_source_compiles:
CMAKE_REQUIRED_FLAGS
CMAKE_REQUIRED_DEFINITIONS
CMAKE_REQUIRED_INCLUDES
CMAKE_REQUIRED_LIBRARIES
Why do we not have CMAKE_REQUIRED_LINK_DIRECTORIES or some such equivalent?
On Unix I can make the check_c_source_com
I think that will work. I will give it a shot and if not will ask more
questions later. I didn't know check_c_source_compiles() existed. Thanks
for the tip!
Steve
2010/5/4 Alexander Neundorf
> On Tuesday 04 May 2010, Steven Wilson wrote:
> > The CMake 2.8.0 documentation f
The CMake 2.8.0 documentation for try_compile() states:
Some extra flags that can be included are, INCLUDE_DIRECTORIES,
LINK_DIRECTORIES, and LINK_LIBRARIES.
I need to know how to actually set those values so that try_compile() makes
use of them. The documentation does not make it clear if they
That's an interesting idea. Would this step attach the dependencies to the
.c file or the .bc file?
On Thu, Mar 18, 2010 at 7:49 PM, Bill Hoffman wrote:
> I have a hack of an idea that might work
>
> If you could changed your bc -> c generator to put in the #include lines ,
> but with if
Hey all,
I have a large project whose source files start as files with an alternate
extension (.bc). Those files are mostly generic C files that have some C++
like features that are preprocessed into vanilla C files using a custom C
pre-processor. My project uses an add_custom_command() call t
Reported as bug #10151.
Steve
On Thu, Jan 14, 2010 at 5:57 PM, Bill Hoffman wrote:
> Steven Wilson wrote:
>
>> The mechanism that creates the ReRunCMake.make file seems to not correctly
>> gather all the dependent CMakeLists.txt files from a project. For example
>> i
The mechanism that creates the ReRunCMake.make file seems to not correctly
gather all the dependent CMakeLists.txt files from a project. For example
if you have the following source tree:
src/
- CMakeLists.txt
- A/
- CMakeLists.txt
- B/
- CMakeLists.txt
where the src/CMakeLists.tx
Is it possible to reset the default target for the makefile build systems?
For example, could I have 'make install' be the default target rather than
'make all'?
Thanks,
Steve
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
uequartz.net
> BlueQuartz Softwarewww.bluequartz.net
> Principal Software Engineer Dayton, Ohio
>
>
>
> On Sun, Dec 13, 2009 at 9:13 PM, Steven Wilson
> wrote:
> > I downloaded/installed the Qt libraries (the Cocoa libs), and rebuilt
> CMake
> &g
I downloaded/installed the Qt libraries (the Cocoa libs), and rebuilt CMake
2.8.0. I'm using a customized version of CMake 2.8.0 so the stock binaries
from Kitware won't work for my project. The gui builds correctly and I can
run the gui from the CMake 2.8.0.app bundle in the build directory.
and windows since CMake 2.6.0...
>
> HTH,
> David
>
>
> On Saturday, December 12, 2009, Steven Wilson
> wrote:
> > Is there an actual GUI for Mac OSX (Similar to Windows) other than the
> curses GUI?
> >
> > Thanks,
> >
> > Steve
> &g
Is there an actual GUI for Mac OSX (Similar to Windows) other than the
curses GUI?
Thanks,
Steve
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topi
I read in a past post that Kitware (or the authors) has another edition
planned for the book "Mastering CMake." I plan to recommend this text to
people in my company for learning CMake, but I wanted to know how soon to
expect the new edition in order to best advise people on which edition to
purc
The current CMake 2.8.0 system does not allow custom commands created with
add_custom_command() to do different things based on the build
configuration.
I propose adding a new keyword to the add_custom_command CMake directive
called CONFIG:
add_custom_command(OUTPUT output1 [output2 ...]
COMMA
Never mind, I figured out the problem...
Thanks,
Steve
On Fri, Nov 20, 2009 at 6:12 PM, Steven Wilson <
steven.wesley.wil...@gmail.com> wrote:
> I have the following string in a variable "C:\path\to\foo"
>
> I want to do something like the following:
Thanks! Is CMAKE_EXTRA_GENERATOR a documented variable? I couldn't find it
at: http://www.cmake.org/cmake/help/cmake-2-8-docs.html
Steve
2009/11/19 Alexander Neundorf
> On Thursday 19 November 2009, Steven Wilson wrote:
> > Why, in CMake 2.8.0, is the value of CMAKE_GENERATOR &
I have the following string in a variable "C:\path\to\foo"
I want to do something like the following:
string(REGEX REPLACE "\\" "" OUTPUT_VAR ${INPUT_VAR})
where INPUT_VAR contains the original string.
I want the result to be:
C:\\path\\to\\foo
I'm just not seeing how to make this regular
Why, in CMake 2.8.0, is the value of CMAKE_GENERATOR "Unix Makefiles" when
using the "Eclipse CDT4 - Unix Makefiles" generator?
Thanks,
Steve
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/
not
install the cmake-gui binary.
Steve
On Thu, Nov 12, 2009 at 10:57 AM, John Drescher wrote:
> On Thu, Nov 12, 2009 at 12:51 PM, Steven Wilson
> wrote:
> > Caveat: I am a complete Qt novice.
> >
> > I'm trying to build the 2.8 CVS branch of CMake on Windows and wou
Caveat: I am a complete Qt novice.
I'm trying to build the 2.8 CVS branch of CMake on Windows and would like to
build the Qt GUI. I downloaded and installed the LGPL/Free Windows Qt SDK
from the Nokia website. When I use the CMake 2.6.4 or CMake 2.8.0 RC 7 GUI
to configure the build for Visual
Never mind, I figured out how to do it...
You can use target_link_libraries() (because target_link_libraries also
accepts linker options) to do this kind of thing:
target_link_libraries(FOO -Wl,--start-group A B C -Wl,--end-group)
On Tue, Nov 10, 2009 at 12:30 PM, Steven Wilson
I have a group of static archive libraries (.a libs) on Linux and because of
the way the linker does symbol resolution I need to use the
-Wl,--start-group and -Wl,--end-group linker options to group these
libraries. These linker options tell the linker to continue searching the
libraries for symb
On Mon, Nov 9, 2009 at 11:36 AM, Eric Noulard wrote:
> 2009/11/9 Steven Wilson :
> > What CVS tag is used for the 2.8.0 release?
>
> I guess it **WILL** be something like
> CMake-2-8-0
>
> > I see a CMake-2-8 branch, but
> > when building from that branch
What CVS tag is used for the 2.8.0 release? I see a CMake-2-8 branch, but
when building from that branch the cmake --version still reports "cmake
version 2.8.0-rc5"
Thanks,
Steve
___
Powered by www.kitware.com
Visit other Kitware open-source projects
There is no magic way to do this with CMake. However, if you don't mind
writing some functions/macros you can use a variant of the following
function to do what you want:
function(build_library NAME KIND SOURCES DEFINITIONS CFLAGS LFLAGS LIBS
IPATHS LPATHS)
unset(MYCOMPILE_FLAGS)
unset(M
You can find this issue at bug #9841.
Thanks,
Steve
On Wed, Nov 4, 2009 at 7:12 AM, Brad King wrote:
> Steven Wilson wrote:
>
>> CMake is ignoring the LINK_FLAGS_ settings for
>> set_target_properties() when using the Xcode generator in the 2.8 branch and
>> the head
CMake is ignoring the LINK_FLAGS_ settings for
set_target_properties() when using the Xcode generator in the 2.8 branch and
the head branch.
Thanks,
Steve
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.co
I have verified that the issue is fixed in the CVS head branch. Thanks for
the quick fix.
Steve
On Tue, Nov 3, 2009 at 8:04 AM, Bill Hoffman wrote:
>
>> Pretty sure this is fixed in CVS, and will be in the next RC, can you try
> CVS head? That said this is still bad CMake code as there is no
Consider the following:
foo.cpp
#include
int main()
{
std::cout << "foo" << std::endl;
return 0;
}
CMakeLists.txt
cmake_minimum_required(VERSION 2.6.4)
add_executable(foo foo.cpp)
set(BUILD_FOO ON PARENT_SCOPE)
With CMake built from the CMake-2-8 branch and also the head branch
Is it possible to set Visual Studio/Xcode variables from CMake?
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http
Is it possible to set up custom commands with add_custom_command so that the
behavior is configuration dependent? Ie, the command does it's thing one
way in Release configuration, but another in Debug configuration.
What I really have is a custom command that is used to turn source files in
one
Is it possible to insert hooks so that the 'Clean' build event in Visual
Studio will delete directories created with custom commands?
Steve
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/ope
Thanks! These comments have the insight that I needed!
Steve
On Thu, Oct 22, 2009 at 6:22 AM, Brad King wrote:
> Steven Wilson wrote:
>
>> Consider the following simple C++ file foo.cpp:
>>
>> #include
>>
>> int main()
>> {
>>
Consider the following simple C++ file foo.cpp:
#include
int main()
{
std::cout << "bar" << std::endl;
return 0;
}
Now consider the following CMakeLists.txt file for foo.cpp:
cmake_minimum_required(VERSION 2.6)
project(Bug)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_
I am using the Release configuration.
On Wed, Oct 21, 2009 at 10:43 AM, Tyler Roscoe wrote:
> On Wed, Oct 21, 2009 at 10:30:34AM -0600, Steven Wilson wrote:
> > I have CMake project that I use to generate a set of Visual Studio
> project
> > files. On the CMake side I e
I have CMake project that I use to generate a set of Visual Studio project
files. On the CMake side I explicitly turn off CMAKE_EXE_LINKER_FLAGS and
CMAKE_EXE_LINKER_FLAGS_RELEASE by setting their values to the empty string
"". When CMake generates the project files, I can open the .vcproj file
Sweet! Thanks much!
On Tue, Oct 20, 2009 at 10:59 AM, Philip Lowman wrote:
> cmake.org/Bug/view.php?id=6493
>
> On Oct 20, 2009 11:29 AM, "Steven Wilson"
> wrote:
>
> I am asking why CMake doesn't support the following:
>
> set_target_properties(${TARGET
I am asking why CMake doesn't support the following:
set_target_properties(${TARGET} PROPERTIES COMPILE_FLAGS_
"-fmyflag")
On Tue, Oct 20, 2009 at 10:44 AM, Tyler wrote:
> Please reply to the list so others can help.
>
> On Mon, Oct 19, 2009 at 06:11:23PM -0600, Stev
I am asking why CMake doesn't support the following:
set_target_properties(${TARGET} PROPERTIES COMPILE_FLAGS_
"-fmyflag")
Would set_target_properties() work? Then you can do something like:
>
> set_target_properties( ${TARGET} PROPERTIES COMPILE_FLAGS "-fmyflag" )
>
> to set compile flags on a
-- Forwarded message --
From: Steven Wilson
Date: Mon, Oct 19, 2009 at 6:11 PM
Subject: Re: [CMake] COMPILE_FLAGS_
To: Tyler Roscoe
Yes, but CMAKE_CXX_FLAGS_ and CMAKE_C_FLAGS_ are global in
scope. I want to be able to make changes to the compilation flags at the
target level
It appears that CMake does not support a COMPILE_FLAGS_ target
property.This kind of property would be incredibly useful. Is there
some reason it does not exist?
Thanks,
Steve
___
Powered by www.kitware.com
Visit other Kitware open-source project
Thanks for the help!
On Fri, Oct 16, 2009 at 2:52 PM, Philip Lowman wrote:
> Thanks for linking. Posting via mobile :)
>
> On Oct 16, 2009 4:27 PM, "John Drescher" wrote:
>
> On Fri, Oct 16, 2009 at 4:14 PM, Philip Lowman wrote: >
> You may want to also look ...
> Found that:
>
> http://www.i
Is there a way to turn off all the extra options that CMake tries to append
to compiler flags, linker flags, etc for the Visual Studio generators? I
have a project that I want to explicity control every option for some of my
exes/libs.
Thanks,
Steve
_
Thanks all, I was missing the quotes around the initial ${FOO} in my
tests...
if("${FOO}" STREQUAL "${BAR}")
does what I wanted.
On Tue, Sep 29, 2009 at 1:51 PM, Nathaniel Waisbrot (Cont ARL/CISD) <
nathaniel.waisb...@arl.army.mil> wrote:
> > Of course I read the docs for the if() command. It
someone might know a
way to do this kind of test/comparison.
On Tue, Sep 29, 2009 at 11:08 AM, Tyler Roscoe wrote:
> On Tue, Sep 29, 2009 at 10:56:45AM -0600, Steven Wilson wrote:
> > Is there a way to compare the contents of one variable with another?
> I'm
> > looki
Is there a way to compare the contents of one variable with another? I'm
looking for something like:
if(${FOO} EQUAL ${BAR})
Thanks,
Steve
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/o
Visual Studio supports having solution files where the solution can set the
supported platform to x64 and yet have individual projects in the solution
build for the Win32 platform despite having the solution set to x64. Can I
configure CMake to set up projects/solutions in this fashion?
Thanks,
Currently install(FILES ...) and install(PROGRAMS ...) allow the OPTIONAL
modifier. Directories can also be optional install items.
install(DIRECTORY dirs... DESTINATION
[FILE_PERMISSIONS permissions...]
[DIRECTORY_PERMISSIONS permissions...]
[USE_SOURCE_PERMISSIONS]
I work for a company that is considering porting one of its major software
products to CMake. In the course of developing a CMake based build system
for the Mac port of the product the following issue came up. What follows
is a description of the problem and a proposed solution for the problem.
Is there a programmatic way for a CMakeLists.txt file to determine if it is
being processed by the command line cmake or the gui cmake?
Thanks,
Steve
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/open
0008725 & 0008743 Thanks again for the help.
On Tue, Mar 17, 2009 at 1:56 PM, Bill Hoffman wrote:
> Steven Wilson wrote:
>
>> Following the FAQ (
>> http://www.cmake.org/Wiki/CMake_FAQ#I_want_a_new_feature_in_CMake._What_should_I_do.3F)
>> I have submitted a couple
Following the FAQ (
http://www.cmake.org/Wiki/CMake_FAQ#I_want_a_new_feature_in_CMake._What_should_I_do.3F)
I have submitted a couple feature requests(8725, 8743) to the cmake bugs
database along with source patches implementing the features. I haven't
yet received any feedback yet on either of
Is there a way to reset the directory lists created by include_directories
and link_directories?
Thanks,
Steve
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep mes
Thanks for the suggestion, I will give it a try!
On Thu, Mar 5, 2009 at 6:22 AM, Philip Lowman wrote:
> On Tue, Mar 3, 2009 at 3:06 PM, Steven Wilson <
> steven.wesley.wil...@gmail.com> wrote:
>
>> As a new member of the list, I just wanted to say thanks for providing
>
wrote:
> On Tue, Mar 3, 2009 at 9:06 PM, Steven Wilson
> wrote:
> > As a new member of the list, I just wanted to say thanks for providing
> this
> > forum as a place to get answers about cmake!
> > First, the problem: I have a software system composed of a number
As a new member of the list, I just wanted to say thanks for providing this
forum as a place to get answers about cmake!
First, the problem: I have a software system composed of a number of
source files in C. These files have an alternate file extension .bc. In
order to compile these files, t
71 matches
Mail list logo