Skip to content
This repository has been archived by the owner on Jan 16, 2021. It is now read-only.

Commit

Permalink
review folders
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 committed Oct 24, 2019
1 parent ecdae4b commit 4203173
Show file tree
Hide file tree
Showing 36 changed files with 17 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "xtd.tunit"]
path = xtd.tunit
url = https://github.com/gammasoft71/xtd.tunit
[submodule "src/xtd_tunit"]
path = src/xtd_tunit
url = https://github.com/gammasoft71/xtd_tunit
7 changes: 3 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ project(xtd.strings)

# Options
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set(IS_MAIN_PROJECT OFF)
if (NOT DEFINED EXPORT_PROJECT_NAME)
set(IS_MAIN_PROJECT ON)
set(EXPORT_PROJECT_NAME ${PROJECT_NAME})
endif ()

Expand All @@ -17,10 +19,7 @@ if (ENABLE_COVERAGE AND UNIX)
endif ()

# Projects
add_subdirectory(xtd.strings)
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
add_subdirectory(xtd.tunit/xtd.tunit)
endif ()
add_subdirectory(src)

# Tests projects
option(ENABLE_TESTS "Enable tests" OFF)
Expand Down
10 changes: 10 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
cmake_minimum_required(VERSION 3.3)

# Solution
project(src)

# Projects
add_subdirectory(xtd_strings)
if (IS_MAIN_PROJECT)
add_subdirectory(xtd_tunit)
endif ()
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/xtd_tunit
Submodule xtd_tunit added at fe3b81
1 change: 0 additions & 1 deletion xtd.tunit
Submodule xtd.tunit deleted from 8fb900

0 comments on commit 4203173

Please sign in to comment.