Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Wired up unit tests to CMakefile.
  • Loading branch information
icculus committed Apr 9, 2009
1 parent d6806ce commit 0da1a28
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Expand Up @@ -116,5 +116,13 @@ TARGET_LINK_LIBRARIES(testoutput mojoshader)
ADD_EXECUTABLE(mojoshader-compiler utils/mojoshader-compiler.c)
TARGET_LINK_LIBRARIES(mojoshader-compiler mojoshader)

# Unit tests...
ADD_CUSTOM_TARGET(
test
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/unit_tests/run_tests.pl"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
COMMENT "Running unit tests..."
)

# End of CMakeLists.txt ...

0 comments on commit 0da1a28

Please sign in to comment.