reactos/lib/3rdparty/stlport/CMakeLists.txt
Amine Khaldi 4efda499f7 [CMAKE]
Jerome Gardou:
- Add STLport 5.2.1 (yes, STLport, the c++ stl implementation) to build. For now, it works only in user mode.
- Link some c++ executables to it
- sol.exe : one step towards a complete and modern OS.
- Dedicated to Amine for his patience and his help.
- Might Break Things! (tm)

svn path=/branches/cmake-bringup/; revision=49046
2010-10-07 22:09:31 +00:00

48 lines
964 B
CMake

#uncomment this if you want to test c++ compilation
#add_subdirectory(test)
add_definitions(-D_STLP_USE_EXCEPTIONS)
list(APPEND SOURCE
src/allocators.cpp
src/bitset.cpp
src/codecvt.cpp
src/collate.cpp
src/complex.cpp
src/complex_io.cpp
src/complex_trig.cpp
src/ctype.cpp
src/dll_main.cpp
src/facets_byname.cpp
src/fstream.cpp
src/ios.cpp
src/iostream.cpp
src/istream.cpp
src/locale.cpp
src/locale_catalog.cpp
src/locale_impl.cpp
src/messages.cpp
src/monetary.cpp
src/num_get.cpp
src/num_get_float.cpp
src/num_put.cpp
src/num_put_float.cpp
src/numpunct.cpp
src/ostream.cpp
src/sstream.cpp
src/stdio_streambuf.cpp
src/string.cpp
src/strstream.cpp
src/time_facets.cpp
src/c_locale.c
src/cxa.c)
add_library(stlport ${SOURCE})
if(NOT MSVC)
#those are mandatory to get correctly ordered linked libraries.
target_link_libraries(stlport supc++ msvcrt.dll.a)
add_importlibs(stlport msvcrt)
endif()