diff --git a/.gitignore b/.gitignore index 54c65a830c..d6e2f8f57d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,27 +1,30 @@ # general apidocs .kdev4 build *~ *.bak *.orig *.pyc *.rej doxygen.log Doxyfile *.kdevelop *.kdevelop.filelist *.kdevelop.pcs *.kdevses .*kate-swp build/ mem.log.* massif.* callgrind.* perf.data* # from kdiff3 *.BACKUP.* *.BASE.* *.LOCAL.* *.REMOTE.* + +# do not ignore .kdev4 files from test data +!projectmanagers/custom-buildsystem/tests/projects/**/.kdev4 diff --git a/projectmanagers/custom-buildsystem/tests/projects/builddirproject/.kdev4/builddirproject.kdev4 b/projectmanagers/custom-buildsystem/tests/projects/builddirproject/.kdev4/builddirproject.kdev4 new file mode 100644 index 0000000000..e0e9b3f625 --- /dev/null +++ b/projectmanagers/custom-buildsystem/tests/projects/builddirproject/.kdev4/builddirproject.kdev4 @@ -0,0 +1,55 @@ +[Buildset] +BuildItems=@Variant(\x00\x00\x00\t\x00\x00\x00\x00\x00) + +[CustomBuildSystem] +CurrentConfiguration=BuildConfig0 + +[CustomBuildSystem][BuildConfig0] +BuildDir= +Title=mainbuild + +[CustomBuildSystem][BuildConfig0][ToolBuild] +Arguments= +Enabled=false +Environment= +Executable= +Type=0 + +[CustomBuildSystem][BuildConfig0][ToolClean] +Arguments= +Enabled=false +Environment= +Executable= +Type=3 + +[CustomBuildSystem][BuildConfig0][ToolConfigure] +Arguments= +Enabled=false +Environment= +Executable= +Type=1 + +[CustomBuildSystem][BuildConfig0][ToolInstall] +Arguments= +Enabled=false +Environment= +Executable= +Type=2 + +[CustomBuildSystem][BuildConfig0][ToolPrune] +Arguments= +Enabled=false +Environment= +Executable= +Type=4 + +[Defines And Includes][Compiler] +Name=GCC +Path=gcc +Type=GCC + +[MakeBuilder] +Number Of Jobs=1 + +[Project] +VersionControlSupport=kdevgit diff --git a/projectmanagers/custom-buildsystem/tests/projects/multipathproject/.kdev4/multipathproject.kdev4 b/projectmanagers/custom-buildsystem/tests/projects/multipathproject/.kdev4/multipathproject.kdev4 new file mode 100644 index 0000000000..8f045a1b6a --- /dev/null +++ b/projectmanagers/custom-buildsystem/tests/projects/multipathproject/.kdev4/multipathproject.kdev4 @@ -0,0 +1,45 @@ +[Buildset] +BuildItems=@Variant(\x00\x00\x00\t\x00\x00\x00\x00\x01\x00\x00\x00\x0b\x00\x00\x00\x00\x01\x00\x00\x00 \x00M\x00u\x00l\x00t\x00i\x00P\x00a\x00t\x00h\x00P\x00r\x00o\x00j\x00e\x00c\x00t) + +[CustomBuildSystem] +CurrentConfiguration=BuildConfig0 + +[CustomBuildSystem][BuildConfig0] +BuildDir=file:///home/andreas/projects/testcustom/build2 +Title=main + +[CustomBuildSystem][BuildConfig0][ToolBuild] +Arguments= +Enabled=false +Environment= +Executable= +Type=0 + +[CustomBuildSystem][BuildConfig0][ToolClean] +Arguments= +Enabled=false +Environment= +Executable= +Type=3 + +[CustomBuildSystem][BuildConfig0][ToolConfigure] +Arguments= +Enabled=false +Environment= +Executable= +Type=1 + +[CustomBuildSystem][BuildConfig0][ToolInstall] +Arguments= +Enabled=false +Environment= +Executable= +Type=2 + +[Defines And Includes][Compiler] +Name=GCC +Path=gcc +Type=GCC + +[Project] +VersionControlSupport= diff --git a/projectmanagers/custom-buildsystem/tests/projects/simpleproject/.kdev4/simpleproject.kdev4 b/projectmanagers/custom-buildsystem/tests/projects/simpleproject/.kdev4/simpleproject.kdev4 new file mode 100644 index 0000000000..9e884ea46b --- /dev/null +++ b/projectmanagers/custom-buildsystem/tests/projects/simpleproject/.kdev4/simpleproject.kdev4 @@ -0,0 +1,45 @@ +[Buildset] +BuildItems=@Variant(\x00\x00\x00\t\x00\x00\x00\x00\x01\x00\x00\x00\x0b\x00\x00\x00\x00\x01\x00\x00\x00\x1a\x00S\x00i\x00m\x00p\x00l\x00e\x00P\x00r\x00o\x00j\x00e\x00c\x00t) + +[CustomBuildSystem] +CurrentConfiguration=BuildConfig0 + +[CustomBuildSystem][BuildConfig0] +BuildDir=file:///home/andreas/projects/testcustom/build +Title=mainbuild + +[CustomBuildSystem][BuildConfig0][ToolBuild] +Arguments= +Enabled=false +Environment= +Executable= +Type=0 + +[CustomBuildSystem][BuildConfig0][ToolClean] +Arguments= +Enabled=false +Environment= +Executable= +Type=3 + +[CustomBuildSystem][BuildConfig0][ToolConfigure] +Arguments= +Enabled=false +Environment= +Executable= +Type=1 + +[CustomBuildSystem][BuildConfig0][ToolInstall] +Arguments= +Enabled=false +Environment= +Executable= +Type=2 + +[Defines And Includes][Compiler] +Name=GCC +Path=gcc +Type=GCC + +[Project] +VersionControlSupport=