~ubuntu-branches/ubuntu/intrepid/cmake/intrepid-backports

« back to all changes in this revision

Viewing changes to Example/Demo/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Maitland Bottoms
  • Date: 2002-02-14 18:36:25 UTC
  • Revision ID: james.westby@ubuntu.com-20020214183625-8m44isdas2k4l0f7
Tags: upstream-1.2
ImportĀ upstreamĀ versionĀ 1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Make sure the compiler can find include files from our Hello library.
 
2
INCLUDE_DIRECTORIES(${HELLO_SOURCE_DIR}/Hello)
 
3
 
 
4
# Make sure the linker can find the Hello library once it is built.
 
5
LINK_DIRECTORIES(${HELLO_BINARY_DIR}/Hello)
 
6
 
 
7
# Add executable called "helloDemo" that is built from the source files
 
8
# "demo.cxx" and "demo_b.cxx".  The extensions are automatically found.
 
9
ADD_EXECUTABLE(helloDemo demo demo_b)
 
10
 
 
11
# Link the executable to the Hello library.
 
12
TARGET_LINK_LIBRARIES(helloDemo Hello)