diff --git a/.cproject b/.cproject deleted file mode 100644 index 61ae46b..0000000 --- a/.cproject +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e96815a --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +.gradle +.settings +.classpath +.project +cproject +build +bin \ No newline at end of file diff --git a/.project b/.project deleted file mode 100644 index 2949259..0000000 --- a/.project +++ /dev/null @@ -1,71 +0,0 @@ - - - cpp.wiipair - - - - - - org.eclipse.cdt.managedbuilder.core.genmakebuilder - clean,full,incremental, - - - ?name? - - - - org.eclipse.cdt.make.core.append_environment - true - - - org.eclipse.cdt.make.core.buildArguments - - - - org.eclipse.cdt.make.core.buildCommand - make - - - org.eclipse.cdt.make.core.buildLocation - ${workspace_loc:/Wiiscan/Release} - - - org.eclipse.cdt.make.core.contents - org.eclipse.cdt.make.core.activeConfigSettings - - - org.eclipse.cdt.make.core.enableAutoBuild - false - - - org.eclipse.cdt.make.core.enableCleanBuild - true - - - org.eclipse.cdt.make.core.enableFullBuild - true - - - org.eclipse.cdt.make.core.stopOnError - true - - - org.eclipse.cdt.make.core.useDefaultBuildCmd - true - - - - - org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder - full,incremental, - - - - - - org.eclipse.cdt.core.cnature - org.eclipse.cdt.core.ccnature - org.eclipse.cdt.managedbuilder.core.managedBuildNature - org.eclipse.cdt.managedbuilder.core.ScannerConfigNature - - diff --git a/README.md b/README.md new file mode 100644 index 0000000..3e46247 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +Based on . \ No newline at end of file diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..eb42c04 --- /dev/null +++ b/build.gradle @@ -0,0 +1,60 @@ +apply plugin: 'cpp' +apply plugin: 'maven' +apply plugin: 'eclipse' + +group = 'com.github.boukefalos' +archivesBaseName = 'wiipair' +version = '0.1' + +task wrapper(type: Wrapper) { + gradleVersion = '1.12' +} +uploadArchives { + repositories.mavenDeployer { + repository(url: uri('.maven')) + } +} + +model { + platforms { + windows_i386 { + architecture 'i386' + operatingSystem 'windows' + } + windows_amd64 { + architecture 'amd64' + operatingSystem 'windows' + } + } + toolChains { + visualCpp(VisualCpp) + } + repositories { + libs(PrebuiltLibraries) { + bthprops { + binaries.withType(StaticLibraryBinary) { + staticLibraryFile = file("lib/${targetPlatform.name}/bthprops.lib") + } + } + } + } +} + +executables { + main { + baseName project.archivesBaseName + } + all { + binaries.all { + lib library: 'bthprops', linkage: 'static' + } + } +} + +tasks.withType(Upload) { + repositories { + mavenDeployer { + repository(url: uri('.maven')) + } + } +} \ No newline at end of file