Skip to content

Commit

Permalink
String should be quoted
Browse files Browse the repository at this point in the history
  • Loading branch information
bansan85 committed Oct 22, 2023
1 parent 95c05cc commit aff4924
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 69 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10)

project(NtfsBrowser)

include(cmake/vs.cmake)
include("cmake/vs.cmake")

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED True)
Expand Down
6 changes: 3 additions & 3 deletions NTFSLibTests/ntfsattr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ add_executable(
"ntfsattr.cpp"
"ntfsattrDlg.cpp"
"StdAfx.cpp"
${CMAKE_CURRENT_SOURCE_DIR}/ntfsattr.clw
${CMAKE_CURRENT_SOURCE_DIR}/ntfsattr.rc
${CMAKE_CURRENT_SOURCE_DIR}/res/ntfsattr.rc2)
"${CMAKE_CURRENT_SOURCE_DIR}/ntfsattr.clw"
"${CMAKE_CURRENT_SOURCE_DIR}/ntfsattr.rc"
"${CMAKE_CURRENT_SOURCE_DIR}/res/ntfsattr.rc2")
target_compile_definitions(NtfsAttr PRIVATE _AFXDLL)
target_link_libraries(NtfsAttr PRIVATE ${PROJECT_NAME})
set_target_properties(NtfsAttr PROPERTIES WIN32_EXECUTABLE 1)
Expand Down
6 changes: 3 additions & 3 deletions NTFSLibTests/ntfsdump/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ add_executable(
"ntfsdump.cpp"
"ntfsdumpDlg.cpp"
"StdAfx.cpp"
${CMAKE_CURRENT_SOURCE_DIR}/ntfsdump.clw
${CMAKE_CURRENT_SOURCE_DIR}/ntfsdump.rc
${CMAKE_CURRENT_SOURCE_DIR}/res/ntfsdump.rc2)
"${CMAKE_CURRENT_SOURCE_DIR}/ntfsdump.clw"
"${CMAKE_CURRENT_SOURCE_DIR}/ntfsdump.rc"
"${CMAKE_CURRENT_SOURCE_DIR}/res/ntfsdump.rc2")
target_compile_definitions(NtfsDump PRIVATE _AFXDLL)
target_link_libraries(NtfsDump PRIVATE ${PROJECT_NAME})
set_target_properties(NtfsDump PROPERTIES WIN32_EXECUTABLE 1)
Expand Down
6 changes: 3 additions & 3 deletions NTFSLibTests/ntfsundel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ add_executable(
"ntfsundel.cpp"
"ntfsundelDlg.cpp"
"StdAfx.cpp"
${CMAKE_CURRENT_SOURCE_DIR}/ntfsundel.clw
${CMAKE_CURRENT_SOURCE_DIR}/ntfsundel.rc
${CMAKE_CURRENT_SOURCE_DIR}/res/ntfsundel.rc2)
"${CMAKE_CURRENT_SOURCE_DIR}/ntfsundel.clw"
"${CMAKE_CURRENT_SOURCE_DIR}/ntfsundel.rc"
"${CMAKE_CURRENT_SOURCE_DIR}/res/ntfsundel.rc2")
target_compile_definitions(NtfsUndel PRIVATE _AFXDLL)
target_link_libraries(NtfsUndel PRIVATE ${PROJECT_NAME})
set_target_properties(NtfsUndel PROPERTIES WIN32_EXECUTABLE 1)
Expand Down
118 changes: 59 additions & 59 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,66 +1,66 @@
set(${PROJECT_NAME}_SRC
data/file-record-header.cpp
attr-base.cpp
attr-bitmap.cpp
attr-file-name.cpp
attr-index-alloc.cpp
attr-index-root.cpp
attr-list.cpp
attr-non-resident.cpp
attr-resident.cpp
attr-std-info.cpp
attr-vol-info.cpp
attr-vol-name.cpp
file-record.cpp
filename.cpp
file-reader.cpp
index-block.cpp
index-entry.cpp
ntfs-volume.cpp)
"data/file-record-header.cpp"
"attr-base.cpp"
"attr-bitmap.cpp"
"attr-file-name.cpp"
"attr-index-alloc.cpp"
"attr-index-root.cpp"
"attr-list.cpp"
"attr-non-resident.cpp"
"attr-resident.cpp"
"attr-std-info.cpp"
"attr-vol-info.cpp"
"attr-vol-name.cpp"
"file-record.cpp"
"filename.cpp"
"file-reader.cpp"
"index-block.cpp"
"index-entry.cpp"
"ntfs-volume.cpp")

set(${PROJECT_NAME}_H
../include/ntfs-browser/data/attr-defines.h
../include/ntfs-browser/data/attr-header-common.h
../include/ntfs-browser/data/attr-type.h
../include/ntfs-browser/attr-base.h
../include/ntfs-browser/file-reader.h
../include/ntfs-browser/file-record.h
../include/ntfs-browser/index-entry.h
../include/ntfs-browser/mask.h
../include/ntfs-browser/mft-idx.h
../include/ntfs-browser/ntfs-volume.h
attr/attribute-list.h
attr/filename.h
attr/header-non-resident.h
attr/header-resident.h
attr/index-root.h
attr/standard-information.h
attr/volume-information.h
attr-bitmap.h
attr-data.h
attr-file-name.h
attr-index-alloc.h
attr-index-root.h
attr-list.h
attr-non-resident.h
attr-resident.h
attr-std-info.h
attr-vol-info.h
attr-vol-name.h
data/file-record-header.h
data/index-block.h
data/index-entry.h
data/ntfs-bpb.h
data/run-entry.h
flag/file-record.h
flag/filename-namespace.h
flag/filename.h
flag/index-entry.h
flag/std-info-permission.h
index-block.h
ntfs-common.h)
"../include/ntfs-browser/data/attr-defines.h"
"../include/ntfs-browser/data/attr-header-common.h"
"../include/ntfs-browser/data/attr-type.h"
"../include/ntfs-browser/attr-base.h"
"../include/ntfs-browser/file-reader.h"
"../include/ntfs-browser/file-record.h"
"../include/ntfs-browser/index-entry.h"
"../include/ntfs-browser/mask.h"
"../include/ntfs-browser/mft-idx.h"
"../include/ntfs-browser/ntfs-volume.h"
"attr/attribute-list.h"
"attr/filename.h"
"attr/header-non-resident.h"
"attr/header-resident.h"
"attr/index-root.h"
"attr/standard-information.h"
"attr/volume-information.h"
"attr-bitmap.h"
"attr-data.h"
"attr-file-name.h"
"attr-index-alloc.h"
"attr-index-root.h"
"attr-list.h"
"attr-non-resident.h"
"attr-resident.h"
"attr-std-info.h"
"attr-vol-info.h"
"attr-vol-name.h"
"data/file-record-header.h"
"data/index-block.h"
"data/index-entry.h"
"data/ntfs-bpb.h"
"data/run-entry.h"
"flag/file-record.h"
"flag/filename-namespace.h"
"flag/filename.h"
"flag/index-entry.h"
"flag/std-info-permission.h"
"index-block.h"
"ntfs-common.h")

set(${PROJECT_NAME}_CMAKE ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt)
set(${PROJECT_NAME}_CMAKE "${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt")

add_library(${PROJECT_NAME} ${${PROJECT_NAME}_SRC} ${${PROJECT_NAME}_H}
${${PROJECT_NAME}_CMAKE})
Expand Down

0 comments on commit aff4924

Please sign in to comment.