/rusxmms/librcc

To get this branch, use:
bzr branch http://suren.me/webbzr/rusxmms/librcc

« back to all changes in this revision

Viewing changes to examples/CMakeLists.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2010-07-16 07:58:26 UTC
  • Revision ID: csa@dside.dyndns.org-20100716075826-4rvnh4iccqrqsdfj
Windows fixes and CMake scripts to build under Windows

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SET(CMAKE_INCLUDE_CURRENT_DIR ON)
 
2
 
 
3
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../src)
 
4
LINK_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/../src)
 
5
 
 
6
ADD_EXECUTABLE(example1 example1.c)
 
7
ADD_EXECUTABLE(example2 example1.c)
 
8
 
 
9
TARGET_LINK_LIBRARIES(example1 rcc)
 
10
TARGET_LINK_LIBRARIES(example2 rcc)
 
11
 
 
12
#TARGET_LINK_LIBRARIES(librcc ${LIBXML2_LIBRARY} ${ICONV_LIBRARY} ${ENCA_LIBRARY} ${LIBRCD_LIBRARY})