b727102baec4e69821a5fcaeb4976229d283a105
[vlc.git] / extras / buildsystem / cmake / CMakeLists / root_CMakeLists.txt
1 PROJECT(vlc)
2
3 # Our own include
4 include( ${CMAKE_SOURCE_DIR}/cmake/vlc_module_funcs.cmake )
5
6 # Config
7 include( ${CMAKE_SOURCE_DIR}/cmake/config.cmake )
8
9 add_definitions(-DHAVE_CONFIG_H)
10 add_definitions(-D__LIBVLC__)
11 add_definitions(-I.) # Hack
12 add_definitions(-std=c99) # Hack
13
14 include_directories(${CMAKE_SOURCE_DIR}/include)
15
16 # Sources
17 add_subdirectory(src)
18 add_subdirectory(modules)
19