diff options
author | Tom Hughes <tom.hughes@palm.com> | 2010-11-22 10:31:40 -0600 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-11-22 13:32:49 -0800 |
commit | 446beebd79d52b24bd8d9e0a44f6378a711f32b9 (patch) | |
tree | 021d60bfdb825519ab102213c65efb5299e6a2db /deps/c-ares | |
parent | b52b4196ab22227aea7afef100c4ca8e2f1b8729 (diff) | |
download | node-446beebd79d52b24bd8d9e0a44f6378a711f32b9.tar.gz |
Add cmake build support.
Squashed commit of ca128f7dcd28cbcfba154c8577ed54d4aa71dd02 with
contributions from Mark Constable (markc@renta.net) and Daniel Gröber
(darklord@darkboxed.org).
Diffstat (limited to 'deps/c-ares')
-rw-r--r-- | deps/c-ares/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/c-ares/CMakeLists.txt b/deps/c-ares/CMakeLists.txt new file mode 100644 index 000000000..98be04a37 --- /dev/null +++ b/deps/c-ares/CMakeLists.txt @@ -0,0 +1,6 @@ +include_directories(${CMAKE_CURRENT_SOURCE_DIR}) +include_directories(${node_platform}-${cares_arch}) +add_definitions(-DHAVE_CONFIG_H=1) + +file(GLOB lib_sources *.c) +add_library(cares ${lib_sources})
\ No newline at end of file |