[CMake] Circular Dependancy?
    Eric Noulard 
    eric.noulard at gmail.com
       
    Tue Jun  5 13:47:42 EDT 2007
    
    
  
2007/6/5, David Cole <david.cole at kitware.com>:
> The thing that's strange about it is the second arg to ADD_SUBDIRECTORY.
> That should be a binary directory that is used by no other ADD_SUBDIRECTORY
> call and it should be different than the main PROJECT_BINARY_DIR as well...
I didn't know thta (in fact I never use the [binary_dir] arg)
Nevertheless, should it be DIFFERENT or UNIQUE from
ADD_LIBRARY/ADD_EXECUTABLE point of view?
>
> It should perhaps be "${PROJECT_BINARY_DIR}/MXADataModel"
> ...?
in this case:
ADD_SUBDIRECTORY(MXADataModel)
should be enough to get what you suggest, no?
>
> HTH,
> David
>
-- 
Erk
    
    
More information about the CMake
mailing list