Additional cmake tweaks for cygwin
[hiphop-php.git] / hphp / neo / CMakeLists.txt
blobc78760c4508e15ef330904474200215897e0c423
1 set(CXX_SOURCES)
2 auto_sources(files "*.c" "${CMAKE_CURRENT_SOURCE_DIR}")
3 list(APPEND CXX_SOURCES ${files})
5 add_library(neo STATIC ${CXX_SOURCES})
7 auto_sources(files "*.h" "RECURSE")
8 HHVM_PUBLIC_HEADERS(neo ${files})
10 if (ENABLE_COTIRE)
11   cotire(neo)
12 endif()