You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(NOTTARGET${target})# Quotes not needed, the target cannot be a list and can't contain spaces
54
54
message(FATAL_ERROR "There is no target named: ${target}")
55
55
endif()
56
56
@@ -82,7 +82,7 @@ endfunction()
82
82
# Print all source file properties
83
83
function(cs_print_source_properties source)
84
84
85
-
if(NOTEXISTS"${source}")
85
+
if(NOTEXISTS${source}) # Quotes not needed, the target cannot be a list (it fails on the list which is good, it quotes it doesn't fail with the list) and spaces are handled correctly without quotes
86
86
message(FATAL_ERROR "There is no source file named: ${source}")
87
87
endif()
88
88
@@ -128,9 +128,9 @@ endfunction()
128
128
129
129
# Print clearly visible notice message about passed BOOL variable
# Create an empty SQLite database file if it does not exist
164
164
function(tiny_create_sqlite_db db_filepath)
165
165
166
-
if(EXISTS${db_filepath})
166
+
if(EXISTS${db_filepath})# Quotes not needed, the target cannot be a list (it fails on the list which is good, it quotes it doesn't fail with the list) and spaces are handled correctly without quotes
if(EXISTS${filepath})# Quotes not needed, the target cannot be a list (it fails on the list which is good, it quotes it doesn't fail with the list) and spaces are handled correctly without quotes
183
183
continue()
184
184
endif()
185
185
@@ -479,6 +479,9 @@ endfunction()
479
479
# Helper function to replace /Zi and /ZI by /Z7 in the CMAKE_<C|CXX>_FLAGS_<CONFIG> option
0 commit comments