A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a flags for include a lib for winsock.
[simgrid.git]
/
buildtools
/
Cmake
/
Distrib.cmake
diff --git
a/buildtools/Cmake/Distrib.cmake
b/buildtools/Cmake/Distrib.cmake
index
3b2e74a
..
e2f68c7
100755
(executable)
--- a/
buildtools/Cmake/Distrib.cmake
+++ b/
buildtools/Cmake/Distrib.cmake
@@
-1,4
+1,4
@@
-set(CMAKE_INSTALL_PREFIX
${prefix}
CACHE TYPE INTERNAL FORCE)
+set(CMAKE_INSTALL_PREFIX
"${prefix}"
CACHE TYPE INTERNAL FORCE)
#########################################
### Fill in the "make install" target ###
#########################################
### Fill in the "make install" target ###
@@
-238,10
+238,15
@@
add_dependencies(distcheck dist-dir)
### Fill in the "make check" target ###
#######################################
### Fill in the "make check" target ###
#######################################
-add_custom_target(check
-COMMAND make test
-#WORKING_DIRECTORY "${PROJECT_DIRECTORY}"
-)
+if(enable_memcheck)
+ add_custom_target(check
+ COMMAND ctest -D ExperimentalMemCheck
+ )
+else(enable_memcheck)
+ add_custom_target(check
+ COMMAND make test
+ )
+endif(enable_memcheck)
#######################################
### Fill in the "make all-clean" target ###
#######################################
### Fill in the "make all-clean" target ###