Hi all,
Maybe it's because of a partially sleepless night, but I can't seem to
figure out how I should use check_include_files().
According to the docs (and the implementation) this macro should be used
as:
CHECK_INCLUDE_FILES(INCLUDE VARIABLE)
where INCLUDE should contain the list of files
Hi all,
In a number of standard CMake modules I encountered the following line:
IF(${VARIABLE} MATCHES ^${VARIABLE}$)
Can anyone explain the rationale of this conditional to me. To my
cluttered mind this seems to be an always-true condition.
Best regards,
Marcel Loose.
Try:CHECK_INCLUDE_FILES(unistd.h;stdio.h var)
Or:
SET(files unistd.h stdio.h)
CHECK_INCLUDE_FILES(${files} var)
On Wed, Jul 1, 2009 at 4:13 AM, Marcel Loose lo...@astron.nl wrote:
Hi all,
Maybe it's because of a partially sleepless night, but I can't seem to
figure out how I should use
So, in general, when using globbing, YOU are responsible for rerunning
CMake whenever you've added a source file. Otherwise you run the
risk of
the new file not being compiled. Furthermore, you might accidentally
compile sources that were just lying around in your directory as test
code.
I hope my examples convinced you enough that globbing is (in general) a
bad idea.
So is it common practice among users of CMake to manually create and
maintain a list of all files that are to be compiled, even if such a list is
very large and may involve several directories and
Apologies if this has been covered, but I'm only seeing occasional
references to doxygen in the archives.
Is there any built-in mechanism for some kind of make doc to invoke
building documentation through doxygen, or does it require
ADD_CUSTOM_TARGET?
Presuming there isn't, I have several
On Wed, Jul 01, 2009 at 11:03:10AM -0500, Mark Lohry wrote:
in ./src/lib1/cmakelists.txt I have:
if(DOXYGEN_EXECUTABLE AND UNIX)
IF(EXISTS ${PROJECT_SOURCE_DIR}/${DOXYGEN_CONFIG_FILE})
message( * Doxygen config file found * )
SET(DOXYFILE_FOUND true)
perfect, thank you
On Wed, Jul 1, 2009 at 11:22 AM, Tyler Roscoe ty...@cryptio.net wrote:
On Wed, Jul 01, 2009 at 11:03:10AM -0500, Mark Lohry wrote:
in ./src/lib1/cmakelists.txt I have:
if(DOXYGEN_EXECUTABLE AND UNIX)
IF(EXISTS ${PROJECT_SOURCE_DIR}/${DOXYGEN_CONFIG_FILE})
2009/7/1 Marcel Loose lo...@astron.nl:
Hi all,
In a number of standard CMake modules I encountered the following line:
IF(${VARIABLE} MATCHES ^${VARIABLE}$)
Can anyone explain the rationale of this conditional to me.
The rational no but
To my cluttered mind this seems to be an
Hi,
I am trying to write a CMakeLists.txt file on a Linux Ubuntu 9.04
platform. I'd like to test the presence of wxwidgets on the system, and
use the include files of wxwidgets. This file is very simple at the
moment:
// BEGINNING OF CMakeLists.txt
set(CMAKE_MODULE_PATH
On Wed, Jul 01, 2009 at 07:23:27PM +0200, Florent Teichteil wrote:
// BEGINNING OF CMakeLists.txt
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR})
find_package(wxWidgets COMPONENTS base core REQUIRED)
include_directories(${wxWidgets_INCLUDE_DIRS})
add_definitions(${wxWidgets_DEFINITIONS})
Hi,
If I have the following CMakeLists.txt:
cmake_minimum_required( VERSION 2.6.4 )
project( project1 )
add_executable( project1 source1.cpp )
project( project2 )
add_executable( project2 source2.cpp )
project( project3 )
add_executable( project3 source3.cpp )
If I create visual studio 2008
On Wed, Jul 1, 2009 at 2:02 PM, Tyler Roscoe wrote:
On Wed, Jul 01, 2009 at 07:23:27PM +0200, Florent Teichteil wrote:
// BEGINNING OF CMakeLists.txt
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR})
find_package(wxWidgets COMPONENTS base core REQUIRED)
Am Mittwoch 01 Juli 2009 18:03:10 schrieb Mark Lohry:
Apologies if this has been covered, but I'm only seeing occasional
references to doxygen in the archives.
Is there any built-in mechanism for some kind of make doc to invoke
building documentation through doxygen, or does it require
14 matches
Mail list logo