Peter Kahn wrote:
> What is the standard way of having cmake access libaries built on the
> same subdir level?
>
> I have a project with two subdirs: Util and App. Util builds a
> library called 'utillib'. Ap builds a
> library and an exe (aplib, and ap.exe).
> Main\
>CMakeLists.tst
>Ut
I was using it as a variable ${LibName} that was my problem. Thanks.
On 10/4/06, Brad King <[EMAIL PROTECTED]> wrote:
Peter Kahn wrote:
> What is the standard way of having cmake access libaries built on the
> same subdir level?
>
> I have a project with two subdirs: Util and App. Util builds
I think you need a dependency declaration too don't you?
I've seen VStudio 2k3 build out of order without.
># App/CMakeLists.txt
>ADD_EXECUTABLE(myexe ...)
>TARGET_LINK_LIBRARIES(myexe mylib)
It seems actually a little more complicated in practice
because you probably want mylib's headers (possi
James Mansion wrote:
> I think you need a dependency declaration too don't you?
>
> I've seen VStudio 2k3 build out of order without.
>
>> # App/CMakeLists.txt
>> ADD_EXECUTABLE(myexe ...)
>> TARGET_LINK_LIBRARIES(myexe mylib)
>
> It seems actually a little more complicated in practice
> because