Skip to content

Commit

Permalink
change catch to submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
Huang-Ming Huang committed Jan 1, 2016
1 parent cf8b3db commit b4f177b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 24 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "tinyxml2"]
path = tinyxml2
url = https://github.com/leethomason/tinyxml2.git
[submodule "catch"]
path = catch
url = https://github.com/philsquared/Catch.git
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# refer to the root source directory of the project as ${MFAST_SOURCE_DIR} and
# to the root binary directory of the project as ${MFAST_BINARY_DIR}.

cmake_minimum_required(VERSION 2.8.8)
cmake_minimum_required(VERSION 2.8.0)


project (mFAST CXX)
Expand Down Expand Up @@ -202,8 +202,8 @@ endmacro()


# Includes Catch in the project:
add_subdirectory(${EXT_PROJECTS_DIR}/catch)
include_directories(${CATCH_INCLUDE_DIR} ${COMMON_INCLUDES})
#add_subdirectory(${EXT_PROJECTS_DIR}/catch)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/catch/include ${COMMON_INCLUDES})
enable_testing()

add_subdirectory (tests)
Expand Down
1 change: 1 addition & 0 deletions catch
Submodule catch added at d75842
20 changes: 0 additions & 20 deletions external_projects/catch/CMakeLists.txt

This file was deleted.

3 changes: 2 additions & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,6 @@ else()
add_test(mfast_test mfast_test)
endif()

#add_dependencies(mfast_test catch)

# add_dependencies(mfast_test catch)

0 comments on commit b4f177b

Please sign in to comment.