We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ac7cf1 commit c0b36b1Copy full SHA for c0b36b1
CMakeLists.txt
@@ -1,5 +1,7 @@
1
cmake_minimum_required(VERSION 3.5)
2
3
+option(BUILD_TESTS "Build tests" OFF)
4
+
5
project(java_shared_memory)
6
7
set(CMAKE_CXX_STANDARD 17)
@@ -22,4 +24,6 @@ install(
22
24
DESTINATION "include"
23
25
)
26
-add_executable(jshm_test "${PROJECT_SOURCE_DIR}/test/main.cpp")
27
+if(BUILD_TESTS)
28
+ add_executable(jshm_test "${PROJECT_SOURCE_DIR}/test/main.cpp")
29
+endif()
build.gradle
@@ -4,7 +4,7 @@ plugins {
}
group 'cn.apisium.shm'
-version '0.1.5'
+version = System.getenv('VERSION') ?: '0.0.0'
8
9
sourceCompatibility = JavaVersion.VERSION_19
10
targetCompatibility = JavaVersion.VERSION_19
0 commit comments