Leave to SConscript files to decide default targets

This commit is contained in:
Nils O. Selåsdal
2016-03-14 12:18:31 +01:00
parent 0a34c799ce
commit c520b6caec
3 changed files with 3 additions and 2 deletions
-1
View File
@@ -175,4 +175,3 @@ env.Package(target = 'libucore-' + version_info['version_str'] + '.tar.gz',
X_RPM_GROUP = 'Development/Libraries' X_RPM_GROUP = 'Development/Libraries'
) )
env.Default('src')
+2
View File
@@ -21,3 +21,5 @@ ucore_env.Alias('install',
ucore_env.Install(os.path.join(prefix, 'lib'), [ucore_staticlib])) ucore_env.Install(os.path.join(prefix, 'lib'), [ucore_staticlib]))
ucore_env.Alias('install', ucore_env.Alias('install',
ucore_env.InstallVersionedLib(os.path.join(prefix, 'lib'), [ucore_sharedlib])) ucore_env.InstallVersionedLib(os.path.join(prefix, 'lib'), [ucore_sharedlib]))
ucore_env.Default([ucore_staticlib, ucore_sharedlib])
+1 -1
View File
@@ -32,4 +32,4 @@ cmd = test_env.Command(target='test_phony' ,
action= test_env.Dir('.').abspath + '/' + test_executable) action= test_env.Dir('.').abspath + '/' + test_executable)
test_env.Depends(cmd, prog) test_env.Depends(cmd, prog)
test_env.AlwaysBuild(cmd) test_env.AlwaysBuild(cmd)
test_env.Default(test_executable)