Mercurial > projects > qtd
comparison cmake/FindD.cmake @ 224:7f150ad4cb5f
spelling fix in CMakeD
author | SokoL_SD |
---|---|
date | Wed, 15 Jul 2009 17:16:36 +0000 |
parents | 8aaa84d48451 |
children | b796329e8c38 |
comparison
equal
deleted
inserted
replaced
223:0c7abb1e6a9d | 224:7f150ad4cb5f |
---|---|
55 | 55 |
56 #option(ONE_BUILD_COMMAND "Build in one command" "OFF") | 56 #option(ONE_BUILD_COMMAND "Build in one command" "OFF") |
57 set(ONE_BUILD_COMMAND OFF) ## TODO: test it and uncomment the previous line. | 57 set(ONE_BUILD_COMMAND OFF) ## TODO: test it and uncomment the previous line. |
58 | 58 |
59 if (NOT ONE_BUILD_COMMAND) | 59 if (NOT ONE_BUILD_COMMAND) |
60 ## TODO: disable SINGLE_D_OBJECT option for ldc < rev. 1433. | |
61 if(D_IS_MARS) | 60 if(D_IS_MARS) |
62 set(opt_tmp "ON") | 61 set(opt_tmp "ON") |
63 else(D_IS_MARS) | 62 else(D_IS_MARS) |
64 set(opt_tmp "OFF") | 63 set(opt_tmp "OFF") |
65 endif(D_IS_MARS) | 64 endif(D_IS_MARS) |
101 set(D_LIB_PREFIX lib) | 100 set(D_LIB_PREFIX lib) |
102 set(D_OBJECT_SUFFIX .o) | 101 set(D_OBJECT_SUFFIX .o) |
103 endif(CMAKE_HOST_WIN32) | 102 endif(CMAKE_HOST_WIN32) |
104 | 103 |
105 ##-------------------------------------------- | 104 ##-------------------------------------------- |
106 ## Macroses and functions. | 105 ## Macros and functions. |
107 ##-------------------------------------------- | 106 ##-------------------------------------------- |
108 | 107 |
109 ## Make native path. | 108 ## Make a native path. |
110 ## Usage: | 109 ## Usage: |
111 ## set(path c:/file_path/file_name.cpp) | 110 ## set(path c:/file_path/file_name.cpp) |
112 ## make_native_path(path) | 111 ## make_native_path(path) |
113 ## message(STATUS ${path}) | 112 ## message(STATUS ${path}) |
114 ## Output: | 113 ## Output: |