2010-12-30 Patrick Gansterer <paroga@webkit.org>
authorparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 31 Dec 2010 00:39:13 +0000 (00:39 +0000)
committerparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 31 Dec 2010 00:39:13 +0000 (00:39 +0000)
        Reviewed by Ariya Hidayat.

        [CMake] Add WTF_HEADERS
        https://bugs.webkit.org/show_bug.cgi?id=51741

        Add the WTF headers to show them in Visual Studio.

        * wtf/CMakeLists.txt:
        * wtf/CMakeListsWinCE.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@74815 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/wtf/CMakeLists.txt
JavaScriptCore/wtf/CMakeListsWinCE.txt

index f8edc56..b8a6a92 100644 (file)
@@ -1,3 +1,15 @@
+2010-12-30  Patrick Gansterer  <paroga@webkit.org>
+
+        Reviewed by Ariya Hidayat.
+
+        [CMake] Add WTF_HEADERS
+        https://bugs.webkit.org/show_bug.cgi?id=51741
+
+        Add the WTF headers to show them in Visual Studio.
+
+        * wtf/CMakeLists.txt:
+        * wtf/CMakeListsWinCE.txt:
+
 2010-12-30  Konstantin Tokarev  <annulen@yandex.ru>
 
         Reviewed by David Kilzer.
index 98cd7e4..989e430 100644 (file)
@@ -1,3 +1,104 @@
+SET(WTF_HEADERS
+    ASCIICType.h
+    AVLTree.h
+    AlwaysInline.h
+    Assertions.h
+    Atomics.h
+    Bitmap.h
+    BumpPointerAllocator.h
+    ByteArray.h
+    Complex.h
+    CrossThreadRefCounted.h
+    CurrentTime.h
+    DateMath.h
+    DecimalNumber.h
+    Deque.h
+    DisallowCType.h
+    FastAllocBase.h
+    FastMalloc.h
+    FixedArray.h
+    Forward.h
+    GetPtr.h
+    HashCountedSet.h
+    HashFunctions.h
+    HashIterators.h
+    HashMap.h
+    HashSet.h
+    HashTable.h
+    HashTraits.h
+    ListHashSet.h
+    ListRefPtr.h
+    Locker.h
+    MD5.h
+    MainThread.h
+    MallocZoneSupport.h
+    MathExtras.h
+    MessageQueue.h
+    NonCopyingSort.h
+    Noncopyable.h
+    NotFound.h
+    NullPtr.h
+    OSAllocator.h
+    OwnArrayPtr.h
+    OwnArrayPtrCommon.h
+    OwnFastMallocPtr.h
+    OwnPtr.h
+    OwnPtrCommon.h
+    PageAllocation.h
+    PageAllocationAligned.h
+    PageBlock.h
+    PageReservation.h
+    PassOwnArrayPtr.h
+    PassOwnPtr.h
+    PassRefPtr.h
+    Platform.h
+    PlatformRefPtr.h
+    PossiblyNull.h
+    RandomNumber.h
+    RandomNumberSeed.h
+    RefCounted.h
+    RefCountedLeakCounter.h
+    RefPtr.h
+    RefPtrHashMap.h
+    RetainPtr.h
+    SegmentedVector.h
+    StackBounds.h
+    StaticConstructors.h
+    StdLibExtras.h
+    StringExtras.h
+    StringHasher.h
+    TCPackedCache.h
+    TCPageMap.h
+    TCSpinLock.h
+    TCSystemAlloc.h
+    ThreadIdentifierDataPthreads.h
+    ThreadSafeShared.h
+    ThreadSpecific.h
+    Threading.h
+    ThreadingPrimitives.h
+    TypeTraits.h
+    UnusedParam.h
+    VMTags.h
+    ValueCheck.h
+    Vector.h
+    VectorTraits.h
+    WTFThreadData.h
+    dtoa.h
+
+    text/AtomicString.h
+    text/AtomicStringImpl.h
+    text/CString.h
+    text/StringBuffer.h
+    text/StringHash.h
+    text/StringImpl.h
+    text/StringImplBase.h
+    text/WTFString.h
+
+    unicode/Collator.h
+    unicode/UTF8.h
+    unicode/Unicode.h
+)
+
 SET(WTF_SOURCES
     Assertions.cpp
     ByteArray.cpp
@@ -39,7 +140,7 @@ LIST(APPEND WTF_INCLUDE_DIRECTORIES
 WEBKIT_WRAP_SOURCELIST(${WTF_SOURCES})
 INCLUDE_DIRECTORIES(${WTF_INCLUDE_DIRECTORIES})
 ADD_DEFINITIONS(-DBUILDING_WTF)
-ADD_LIBRARY(${WTF_LIBRARY_NAME} ${WTF_LIBRARY_TYPE} ${WTF_SOURCES})
+ADD_LIBRARY(${WTF_LIBRARY_NAME} ${WTF_LIBRARY_TYPE} ${WTF_HEADERS} ${WTF_SOURCES})
 TARGET_LINK_LIBRARIES(${WTF_LIBRARY_NAME} ${WTF_LIBRARIES})
 
 IF (WTF_LINK_FLAGS)
index ed38c6f..9c558eb 100644 (file)
@@ -1,3 +1,10 @@
+LIST(APPEND WTF_HEADERS
+    unicode/wince/UnicodeWinCE.h
+
+    ${3RDPARTY_DIR}/ce-compat/ce_time.h
+    ${3RDPARTY_DIR}/ce-compat/ce_unicode.h
+)
+
 LIST(APPEND WTF_SOURCES
     NullPtr.cpp
     OSAllocatorWin.cpp