summaryrefslogtreecommitdiff
path: root/basic/StaticLibrary_sample.mk
diff options
context:
space:
mode:
authorDamjan Jovanovic <damjan@apache.org>2018-10-05 18:57:27 +0000
committerDamjan Jovanovic <damjan@apache.org>2018-10-05 18:57:27 +0000
commit76f5b94c87196281ad9251a60c53b76b61d1018e (patch)
tree6ad8bb1238c90e0b44c29b67909e9c7cb81f2bdc /basic/StaticLibrary_sample.mk
parent1566d851a65081ec6f972274a63f087568e7ba65 (diff)
Port main/basic to gbuild.
Patch by: me
Notes
Notes: ignore: obsolete
Diffstat (limited to 'basic/StaticLibrary_sample.mk')
-rw-r--r--basic/StaticLibrary_sample.mk45
1 files changed, 45 insertions, 0 deletions
diff --git a/basic/StaticLibrary_sample.mk b/basic/StaticLibrary_sample.mk
new file mode 100644
index 000000000000..a0d651b41680
--- /dev/null
+++ b/basic/StaticLibrary_sample.mk
@@ -0,0 +1,45 @@
+###############################################################
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+###############################################################
+
+
+
+$(eval $(call gb_StaticLibrary_StaticLibrary,sample))
+
+$(eval $(call gb_StaticLibrary_add_precompiled_header,sample,$(SRCDIR)/basic/inc/pch/precompiled_sample))
+
+$(eval $(call gb_StaticLibrary_add_api,sample,\
+ offapi \
+ udkapi \
+))
+
+$(eval $(call gb_StaticLibrary_set_include,sample,\
+ -I$(SRCDIR)/basic/inc \
+ -I$(SRCDIR)/basic/inc/pch \
+ -I$(SRCDIR)/basic/source/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_StaticLibrary_add_noexception_objects,sample,\
+ basic/source/sample/collelem \
+ basic/source/sample/object \
+))
+
+# vim: set noet sw=4 ts=4: