Re: [CMake] multi-tiered config file inclusion

2010-05-31 Thread Michael Hertling
On 05/30/2010 11:58 PM, Hugh Sorby wrote: > > So this is what I put into my OpenCASCADE config file > > SET( CONFIG_FILE_CONTENTS > "\nGET_FILENAME_COMPONENT( SELF_DIR \"\${CMAKE_CURRENT_LIST_FILE}\" > PATH )" > "\nINCLUDE( \${SELF_DIR}/OpenCASCADE-targets.cmake )" > "\nGET_FILENAME_

Re: [CMake] multi-tiered config file inclusion

2010-05-30 Thread Hugh Sorby
So this is what I put into my OpenCASCADE config file SET( CONFIG_FILE_CONTENTS "\nGET_FILENAME_COMPONENT( SELF_DIR \"\${CMAKE_CURRENT_LIST_FILE}\" PATH )" "\nINCLUDE( \${SELF_DIR}/OpenCASCADE-targets.cmake )" "\nGET_FILENAME_COMPONENT( OPENCASCADE_INCLUDE_DIRS \"\${SELF_DIR}/../../i

Re: [CMake] multi-tiered config file inclusion

2010-05-29 Thread Michael Hertling
On 05/28/2010 06:35 AM, Hugh Sorby wrote: > > Hi All, > > The question I have is about our old friend the static library and > config files. > > In my project I use two other libraries that I depend on (both built via > CMake) > 1. OpenCASCADE > 2. wxWidgets > > plus some others. So, whe

[CMake] multi-tiered config file inclusion

2010-05-27 Thread Hugh Sorby
Hi All, The question I have is about our old friend the static library and config files. In my project I use two other libraries that I depend on (both built via CMake) 1. OpenCASCADE 2. wxWidgets plus some others. So, when I build my project in its application form I locate the LIB-co