Skip to content

Commit

Permalink
Update paths to match new cmake-generated project files location.
Browse files Browse the repository at this point in the history
  • Loading branch information
qris committed Feb 14, 2016
1 parent 95a0779 commit e691016
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion infrastructure/cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ foreach(module_dep
"${module_path}/_main.cpp")
add_test(NAME ${test_name}
COMMAND ${PERL_EXECUTABLE} ${base_dir}/runtest.pl.in ${test_name}
$<CONFIG>)
$<CONFIG> WORKING_DIRECTORY ${base_dir})
elseif(module_name MATCHES "^(lib_.*|qdbm)$")
if(DEBUG)
message(STATUS "add library '${module_name}': '${module_files}'")
Expand Down
4 changes: 2 additions & 2 deletions runtest.pl.in
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ sub runtest

my @commands = (
"msbuild /nologo $quiet ".
"infrastructure\\cmake\\INSTALL.vcxproj",
"infrastructure\\cmake\\build\\INSTALL.vcxproj",
"xcopy /s /i /y /q $test_src_dir $test_dst_dir",
"copy infrastructure\\cmake\\$test_mode\\$test_project_exe.exe $test_dst_dir"
"copy infrastructure\\cmake\\build\\$test_mode\\$test_project_exe.exe $test_dst_dir"
);

if(-d $test_dst_dir)
Expand Down

0 comments on commit e691016

Please sign in to comment.