Commit f295d625 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

cmake: Enable testing. (Launch with `make test` or with `ctest` (see ctest...

cmake: Enable testing. (Launch with `make test` or with `ctest` (see ctest --help)). Plus minor cleanup.
parent a393ab22
PROJECT(vlc)
ENABLE_TESTING()
# Set the module path
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
......@@ -12,8 +14,8 @@ include( config )
# Global definitions
add_definitions(-DHAVE_CONFIG_H)
add_definitions(-D__LIBVLC__)
add_definitions(-I.)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99")
set(CMAKE_INCLUDE_CURRENT_DIR ON)
# Needed for glibc:
add_definitions(-D_GNU_SOURCE)
......@@ -26,5 +28,3 @@ add_subdirectory(src)
add_subdirectory(modules)
add_subdirectory(po)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment