cmake_minimum_required(VERSION 2.8.12.2) set(CMAKE_INCLUDE_CURRENT_DIR ON) set(TESTSOURCES test5.cpp ) add_executable(paltest_lockfile_test5 ${TESTSOURCES} ) add_dependencies(paltest_lockfile_test5 coreclrpal) target_link_libraries(paltest_lockfile_test5 pthread m coreclrpal ) set(HELPERSOURCES helper.cpp ) add_executable(paltest_lockfile_test5_helper ${HELPERSOURCES} ) add_dependencies(paltest_lockfile_test5_helper coreclrpal) target_link_libraries(paltest_lockfile_test5_helper pthread m coreclrpal )