diff options
Diffstat (limited to 'examples/CMakeLists.txt')
-rw-r--r-- | examples/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt new file mode 100644 index 0000000..d9fe1cc --- /dev/null +++ b/examples/CMakeLists.txt @@ -0,0 +1,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}) |