From 4ed874500c66aeb60cb11a0acc081dbc113eec51 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 16 Jul 2010 09:58:26 +0200 Subject: Windows fixes and CMake scripts to build under Windows --- examples/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 examples/CMakeLists.txt (limited to 'examples') 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}) -- cgit v1.2.3