diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2010-07-16 09:58:26 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2010-07-16 09:58:26 +0200 |
commit | 4ed874500c66aeb60cb11a0acc081dbc113eec51 (patch) | |
tree | 425587d32b7a7e005c37c9c2c941936c0c65c0d6 /examples/CMakeLists.txt | |
parent | 0f6f7b770b84bd02d8c94c84ed9da78bc11ba8ca (diff) | |
download | librcc-4ed874500c66aeb60cb11a0acc081dbc113eec51.tar.gz librcc-4ed874500c66aeb60cb11a0acc081dbc113eec51.tar.bz2 librcc-4ed874500c66aeb60cb11a0acc081dbc113eec51.tar.xz librcc-4ed874500c66aeb60cb11a0acc081dbc113eec51.zip |
Windows fixes and CMake scripts to build under Windows
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}) |