[CMake] headers and recompile part II
Duncan Mac-Vicar Prett
dmacvicar at suse.de
Wed May 30 09:50:34 EDT 2007
On Wednesday 30 May 2007 15:11:04 you wrote:
> What is in zzpp/CMakeFiles/CMakeDirectoryInformation.cmake?
Interesting, in the top level / directory, where I do configure the stuff
there is:
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.4
# Force unix paths in dependencies.
SET(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file search paths:
SET(CMAKE_C_INCLUDE_PATH
"."
"/space/sources/zypp/trunk/libzypp"
"/usr/include"
"/usr/include/hal"
"/usr/include/dbus-1.0"
"/usr/lib/dbus-1.0/include"
"/usr/include/glib-2.0"
"/usr/lib/glib-2.0/include"
)
SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
# The C and CXX include file regular expressions for this directory.
SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
But, in /zypp where the first target is, (ADD_SUBDIRECTORY(zypp) in the
toplevel)
# Force unix paths in dependencies.
SET(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file search paths:
SET(CMAKE_C_INCLUDE_PATH
"/usr/include"
"/usr/include/hal"
"/usr/include/dbus-1.0"
"/usr/lib/dbus-1.0/include"
"/usr/include/glib-2.0"
"/usr/lib/glib-2.0/include"
"/space/sources/zypp/trunk/libzypp"
"/space/sources/zypp/trunk/libzypp/zypp"
"zypp"
)
SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
# The C and CXX include file regular expressions for this directory.
SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
What can cause this difference? At least now I can play and try.
Duncan
More information about the CMake
mailing list