Skip to content

Commit b8fc643

Browse files
committed
#6 Fix gitinorge & update editor Version.txt
1 parent 613856c commit b8fc643

4 files changed

+15
-15
lines changed

.gitignore

+5-5
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
*.app
2828

2929
# Build folder
30-
./Bin/
31-
./PrjMac/
32-
./PrjVisualStudio/
33-
./PrjUWP/
34-
./PrjEmscripten/
30+
/Bin/
31+
/PrjMac/
32+
/PrjVisualStudio/
33+
/PrjUWP/
34+
/PrjEmscripten/

CMake/CMakeVisualStudioPCH.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
function(target_precompiled_header project_target pch_source project_sources)
22
if(MSVC)
3-
get_filename_component(pch_basename ${pch_source} NAME_WE)
3+
get_filename_component(pch_basename ${pch_source} NAME_WE)
44
set(pch_header "${pch_basename}.h")
55

66
set_target_properties(${project_target} PROPERTIES COMPILE_FLAGS "/Yu${pch_header}")
7-
set_source_files_properties(${pch_source} PROPERTIES COMPILE_FLAGS "/Yc${pch_header}")
7+
set_source_files_properties(${pch_source} PROPERTIES COMPILE_FLAGS "/Yc${pch_header}")
88
endif(MSVC)
99
endfunction()

CMake/CMakeVisualStudioSourceGroup.cmake

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
# group source on visual project
2-
function(setup_project_group project_source current_dir)
3-
foreach(source IN LISTS project_source)
2+
function(setup_project_group project_source current_dir)
3+
foreach(source IN LISTS project_source)
44
# get source path
5-
get_filename_component(source_path ${source} PATH)
5+
get_filename_component(source_path ${source} PATH)
66

77
# get source relative path
8-
string(REPLACE "${current_dir}/./" "" source_relative ${source_path})
8+
string(REPLACE "${current_dir}/./" "" source_relative ${source_path})
99

1010
if(MSVC OR XCODE)
1111
# get group name
1212
string(REPLACE "/" "\\" group_name ${source_relative})
1313
else()
1414
set(group_name ${source_relative})
1515
endif()
16-
16+
1717
if("${source_relative}" STREQUAL "${source_path}")
1818
# no need group because source is in $current_dir
1919
else()
2020
# setup project group
2121
source_group("${group_name}" FILES "${source}")
22-
endif()
22+
endif()
2323
endforeach()
2424
endfunction()
2525

26-
function(add_source_group project_source group_name)
26+
function(add_source_group project_source group_name)
2727
foreach(source IN LISTS project_source)
2828
# setup project group
2929
source_group("${group_name}" FILES "${source}")

Version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.1
1+
0.0.2

0 commit comments

Comments
 (0)