Some dos2unix fixes. Fixed path error in run_tests_linux.sh. Set CMAKE_MODULE_PATH to look locally first in tests/CmakeLists.txt.
This commit is contained in:
parent
67f0225e42
commit
f8a15aecfe
4 changed files with 253 additions and 250 deletions
|
@ -1,5 +1,8 @@
|
|||
# Tell cmake our project only concerns the D language.
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
# Look for cmake modules locally first
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/../cmaked)
|
||||
|
||||
PROJECT (CMAKED2_TESTS D)
|
||||
ADD_DEFINITIONS( -w -wi )
|
||||
enable_testing()
|
||||
|
|
|
@ -8,7 +8,7 @@ cd cmaked_test_build
|
|||
mkdir -p release
|
||||
cd release
|
||||
# Do a release build
|
||||
cmake ../../tests
|
||||
cmake ../../cmaked2/tests
|
||||
make
|
||||
make test
|
||||
cd ..
|
||||
|
@ -16,7 +16,7 @@ cd ..
|
|||
# Do a debug build
|
||||
mkdir -p debug
|
||||
cd debug
|
||||
cmake -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=debug ../../tests
|
||||
cmake -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=debug ../../cmaked2/tests
|
||||
make
|
||||
make test
|
||||
cd ../..
|
||||
|
|
Loading…
Reference in a new issue