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