Skip to content

Commit

Permalink
common: Split test module from core
Browse files Browse the repository at this point in the history
  • Loading branch information
KeeganMorrow committed Jan 20, 2017
1 parent 5e43b6e commit 3d8cc67
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ add_custom_target (
# Allow all children to headers relative to the src directory
include_directories(${CMAKE_SOURCE_DIR}/src)

add_subdirectory(common)
add_subdirectory(core)
add_subdirectory(systems)

# Define an executable for engine test
set(SRCS_TEST_ENGINE
${SRCS_TEST_COMMON}
${SRCS_TEST_CORE}
${SRCS_TEST_SYSTEMS}
${CMAKE_CURRENT_SOURCE_DIR}/test_main.cpp
Expand Down
5 changes: 5 additions & 0 deletions test/common/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
set(SRCS_TEST_COMMON
"${CMAKE_CURRENT_SOURCE_DIR}/math.cpp"
PARENT_SCOPE
)

File renamed without changes.
1 change: 0 additions & 1 deletion test/core/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
set(SRCS_TEST_CORE
"${CMAKE_CURRENT_SOURCE_DIR}/example_module.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/math.cpp"
PARENT_SCOPE
)

0 comments on commit 3d8cc67

Please sign in to comment.