~musicbrainz-developers/libmusicbrainz/trunk

« back to all changes in this revision

Viewing changes to tests/CMakeLists.txt

  • Committer: adhawkins
  • Date: 2011-06-30 20:11:09 UTC
  • Revision ID: svn-v4:b0b80210-5d09-0410-99dd-b4bd03f891c0:libmusicbrainz/trunk:13186
Tags: release-4.0.0beta1
Merge libmusicbrainz4 branch back into trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../include)
 
2
LINK_LIBRARIES(musicbrainz4 ${NEON_LIBRARIES})
 
3
ADD_EXECUTABLE(mbtest mbtest.cc)
 
4
ADD_EXECUTABLE(ctest ctest.c)
 
5
 
 
6
IF(CMAKE_COMPILER_IS_GNUCXX)
 
7
                SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -Wextra -pedantic-errors")
 
8
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
 
9
 
 
10
IF(CMAKE_COMPILER_IS_GNUCC)
 
11
                SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror -Wextra -pedantic-errors")
 
12
ENDIF(CMAKE_COMPILER_IS_GNUCC)
 
13