<commit_before># tk 20141113 debugMexTest causes compilation errors on Ubuntu 32 bit
# See https://github.com/RobotLocomotion/drake/issues/553
# debugMexTester.m and debugMexTest.cpp were moved to dev
# add_mex(debugMexTest debugMexTest.cpp)

include_directories(..)
include_directories(${PROJECT_SOURCE_DIR}/systems/trajectories)

if (NOT WIN32)
  # doesn't work because the timing tests require the <chrono> include
  add_executable(testDrakeGeometryUtil testDrakeGeometryUtil.cpp)
  target_link_libraries(testDrakeGeometryUtil drakeGeometryUtil)
  add_test(NAME testDrakeGeometryUtil COMMAND testDrakeGeometryUtil)

  add_executable(testGradientVar testGradientVar.cpp)
  target_link_libraries(testGradientVar drakeGradientUtil)
  #set_target_properties(testGradientVar PROPERTIES COMPILE_FLAGS "-g -O0")
  #add_test(NAME testGradientVar COMMAND testGradientVar)

  add_executable(testDrakeGradientUtil testDrakeGradientUtil.cpp)
  target_link_libraries(testDrakeGradientUtil drakeGeometryUtil)
  add_test(NAME testDrakeGradientUtil COMMAND testDrakeGradientUtil)
endif (NOT WIN32)

if (MATLAB_FOUND)
  add_mex(testQuatmex testQuatmex.cpp)
  target_link_libraries(testQuatmex drakeGeometryUtil)

  add_mex(testGeometryGradientsmex testGeometryGradientsmex.cpp)
  target_link_libraries(testGeometryGradientsmex drakeGeometryUtil drakeMexUtil)

  add_mex(testGeometryConversionFunctionsmex testGeometryConversionFunctionsmex.cpp)
  target_link_libraries(testGeometryConversionFunctionsmex drakeGeometryUtil drakeMexUtil)
endif(MATLAB_FOUND)

if (LCM_FOUND)
add_executable(testLCMUtil testLCMUtil.cpp)
target_link_libraries(testLCMUtil drakeLCMUtil)
endif()

add_executable(testConvexHull testConvexHull.cpp)
target_link_libraries(testConvexHull drakeConvexHull)
add_test(NAME testConvexHull COMMAND testConvexHull)

add_executable(testPolynomial testPolynomial.cpp)
target_link_libraries(testPolynomial drakePolynomial)
add_test(NAME testPolynomial COMMAND testPolynomial)

add_executable(testTrigPoly testTrigPoly.cpp)
target_link_libraries(testTrigPoly drakePolynomial)
add_test(NAME testTrigPoly COMMAND testTrigPoly)
<commit_msg>removed linking to non-existent drakeGradientUtil<commit_after># tk 20141113 debugMexTest causes compilation errors on Ubuntu 32 bit
# See https://github.com/RobotLocomotion/drake/issues/553
# debugMexTester.m and debugMexTest.cpp were moved to dev
# add_mex(debugMexTest debugMexTest.cpp)

include_directories(..)
include_directories(${PROJECT_SOURCE_DIR}/systems/trajectories)

if (NOT WIN32)
  # doesn't work because the timing tests require the <chrono> include
  add_executable(testDrakeGeometryUtil testDrakeGeometryUtil.cpp)
  target_link_libraries(testDrakeGeometryUtil drakeGeometryUtil)
  add_test(NAME testDrakeGeometryUtil COMMAND testDrakeGeometryUtil)

  add_executable(testGradientVar testGradientVar.cpp)
  #set_target_properties(testGradientVar PROPERTIES COMPILE_FLAGS "-g -O0")
  #add_test(NAME testGradientVar COMMAND testGradientVar)

  add_executable(testDrakeGradientUtil testDrakeGradientUtil.cpp)
  target_link_libraries(testDrakeGradientUtil drakeGeometryUtil)
  add_test(NAME testDrakeGradientUtil COMMAND testDrakeGradientUtil)
endif (NOT WIN32)

if (MATLAB_FOUND)
  add_mex(testQuatmex testQuatmex.cpp)
  target_link_libraries(testQuatmex drakeGeometryUtil)

  add_mex(testGeometryGradientsmex testGeometryGradientsmex.cpp)
  target_link_libraries(testGeometryGradientsmex drakeGeometryUtil drakeMexUtil)

  add_mex(testGeometryConversionFunctionsmex testGeometryConversionFunctionsmex.cpp)
  target_link_libraries(testGeometryConversionFunctionsmex drakeGeometryUtil drakeMexUtil)
endif(MATLAB_FOUND)

if (LCM_FOUND)
add_executable(testLCMUtil testLCMUtil.cpp)
target_link_libraries(testLCMUtil drakeLCMUtil)
endif()

add_executable(testConvexHull testConvexHull.cpp)
target_link_libraries(testConvexHull drakeConvexHull)
add_test(NAME testConvexHull COMMAND testConvexHull)

add_executable(testPolynomial testPolynomial.cpp)
target_link_libraries(testPolynomial drakePolynomial)
add_test(NAME testPolynomial COMMAND testPolynomial)

add_executable(testTrigPoly testTrigPoly.cpp)
target_link_libraries(testTrigPoly drakePolynomial)
add_test(NAME testTrigPoly COMMAND testTrigPoly)

{'fraction_non_alphanumeric': 0.05488810365135453, 'fraction_numerical': 0.008480565371024734, 'mean_word_length': 10.0, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6062056', 'n_tokens_mistral': 1498, 'n_tokens_neox': 1383, 'n_words': 236}