diff options
| author | gkostka <kostka.grzegorz@gmail.com> | 2015-09-21 22:58:46 +0200 |
|---|---|---|
| committer | gkostka <kostka.grzegorz@gmail.com> | 2015-09-22 00:19:51 +0200 |
| commit | 107a9ee9b40fc55a65e84c755b5433e7ad465332 (patch) | |
| tree | 65cc931a30c2de6cdb5c5855dae252d9c8099376 /CMakeLists.txt | |
| parent | fd69372547ede31874302ac2921abb7e3b34a60c (diff) | |
Demo apps refactoring
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index baf5e40..1ae2c5b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,7 @@ include_directories(lwext4) include_directories(blockdev/filedev)
include_directories(blockdev/filedev_win)
+set(BLOCKDEV_TYPE none)
#Examples
if (CMAKE_SYSTEM_PROCESSOR STREQUAL cortex-m0)
@@ -34,11 +35,13 @@ elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL msp430g2210) #...
else()
#Generic example target
- add_subdirectory(blockdev)
+ set(BLOCKDEV_TYPE linux)
add_subdirectory(fs_test)
add_subdirectory(demos/generic)
endif()
+add_subdirectory(blockdev)
+
#Library build
add_subdirectory(lwext4)
#Detect all possible warnings for lwext4 target
|
