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 7ca9f7a commit 8130788
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .gitmodules
@@ -1,3 +1,3 @@
[submodule "xtd.tunit"]
path = 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
Expand Up @@ -5,7 +5,9 @@ project(xtd.io)

# 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.io)
if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
add_subdirectory(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
@@ -0,0 +1,10 @@
cmake_minimum_required(VERSION 3.3)

# Solution
project(src)

# Projects
add_subdirectory(xtd_io)
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.
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 8130788

Please sign in to comment.