File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ target_architecture(MOZART_PROP_PLATFORM_ARCH)
17
17
# For source tarballs, oz.version and os.date
18
18
# are exported id MozartConfigVersion.cmake
19
19
include (MozartConfigVersion
20
- RESULT_VARIABLE MOZART_CACHED_BUILD OPTIONAL )
20
+ RESULT_VARIABLE MOZART_SOURCE_TARBALL_BUILD OPTIONAL )
21
21
22
22
# oz.version
23
23
24
- if (NOT MOZART_CACHED_BUILD )
24
+ if (NOT MOZART_SOURCE_TARBALL_BUILD )
25
25
execute_process (
26
26
COMMAND ${GIT_EXECUTABLE} describe --dirty
27
27
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR} "
@@ -45,7 +45,7 @@ endif()
45
45
46
46
# oz.date
47
47
48
- if (NOT MOZART_CACHED_BUILD )
48
+ if (NOT MOZART_SOURCE_TARBALL_BUILD )
49
49
execute_process (
50
50
COMMAND ${GIT_EXECUTABLE} log "--format=%aD" -1
51
51
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR} "
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ set(LLVM_BUILD_DIR ${DEFAULT_LLVM_BUILD_DIR} CACHE PATH "Path to LLVM build (wit
13
13
set (MOZART_GENERATOR_FLAGS "${DEFAULT_MOZART_GENERATOR_FLAGS} " CACHE STRING
14
14
"Additional flags for the generator parser (clang)" )
15
15
16
+ set (MOZART_CACHED_BUILD ON CACHE STRING "Use pre-generated sources" )
17
+
16
18
add_compile_options (-std=c++0x)
17
19
18
20
add_subdirectory (generator)
You can’t perform that action at this time.
0 commit comments