Skip to content

Commit

Permalink
added main to driftcpp build
Browse files Browse the repository at this point in the history
  • Loading branch information
redrezo committed Aug 3, 2020
1 parent bbd51fc commit 39ba9a5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions native-driftcpp/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'cpp-library'
id 'cpp-application'
id 'maven-publish'
id 'visual-studio'
id 'xcode'
Expand All @@ -8,11 +8,11 @@ plugins {
group = 'org.eclipse.fx.drift'
version = Versioning.fullVersion

library {
application {

baseName = 'driftcpp'

linkage = [ Linkage.STATIC ]
// linkage = [ Linkage.STATIC ]

targetMachines = [
machines.linux.x86_64,
Expand Down
5 changes: 5 additions & 0 deletions native-driftcpp/src/main/cpp/main.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#include "driftcpp.h"

int main() {
return 0;
}

0 comments on commit 39ba9a5

Please sign in to comment.