Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add src to the path for make dist command.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 24 Jun 2010 09:35:33 +0000 (09:35 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 24 Jun 2010 09:35:33 +0000 (09:35 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7931 48e7efb5-ca39-0410-a469-dd3cf9ba447f

buildtools/Cmake/DefinePackages.cmake
buildtools/Cmake/MaintainerMode.cmake

index 8bee2f2..5cbdcb6 100755 (executable)
@@ -421,17 +421,17 @@ ${PROJECT_DIRECTORY}/src/xbt_synchro_unit.c
 )
 
 set(TEST_CFILES
-xbt/cunit.c
-xbt/ex.c
-xbt/dynar.c
-xbt/dict.c
-xbt/set.c
-xbt/swag.c
-xbt/xbt_str.c
-xbt/xbt_strbuff.c
-xbt/xbt_sha.c
-xbt/config.c
-xbt/xbt_synchro.c
+src/xbt/cunit.c
+src/xbt/ex.c
+src/xbt/dynar.c
+src/xbt/dict.c
+src/xbt/set.c
+src/xbt/swag.c
+src/xbt/xbt_str.c
+src/xbt/xbt_strbuff.c
+src/xbt/xbt_sha.c
+src/xbt/config.c
+src/xbt/xbt_synchro.c
 )
 
 #Here must have all files which permit to generate source files
@@ -815,4 +815,4 @@ set(source_to_pack
        src/bindings/rubyDag/rb_SD_workstation.h
        src/bindings/rubyDag/rb_simdag.c
        src/bindings/rubyDag/simdag.rb
-)
+)
\ No newline at end of file
index 43c5e9f..35cfc04 100644 (file)
@@ -105,7 +105,8 @@ if(PERL_EXE)
        endforeach(file ${TEST_UNITS})
        
        #$(TEST_UNITS): $(TEST_CFILES)
-       string(REPLACE ";" " " USE_TEST_CFILES "${TEST_CFILES}")        
+       string(REPLACE "src/" "" USE_TEST_CFILES "${TEST_CFILES}")
+       string(REPLACE ";" " " USE_TEST_CFILES "${USE_TEST_CFILES}")    
        exec_program("chmod a=rwx ${PROJECT_DIRECTORY}/tools/sg_unit_extractor.pl")
        exec_program("${PROJECT_DIRECTORY}/tools/sg_unit_extractor.pl ${USE_TEST_CFILES}" "${PROJECT_DIRECTORY}/src")