Skip to content

Commit

Permalink
Moved dohpblock to tools directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jedbrown committed Oct 24, 2009
1 parent 2f9a58f commit 52c9104
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ add_definitions (${PETSC_DEFINITIONS})

option (dUSE_DEBUG "Compile Dohp with extra debugging" ON)
option (Dohp_BUILD_TESTS "Build tests" ON)
option (Dohp_BUILD_SANDBOX "Build programs in sandbox" ON)
option (Dohp_BUILD_TOOLS "Build tools" ON)
option (Dohp_BUILD_SANDBOX "Build programs in sandbox" OFF)
option (PEDANTIC_WARNINGS "Compile with pedantic warnings" ON)
option (BUILD_SHARED_LIBS "Build shared Dohp libraries" ON)

Expand Down
2 changes: 1 addition & 1 deletion sandbox/itaps/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Should only be included when Dohp_BUILD_SANDBOX

set (Dohp_SANDBOX_EXECS
dohpblock)
)

foreach (EXE ${Dohp_SANDBOX_EXECS})
add_executable (${EXE} "${EXE}.c")
Expand Down
5 changes: 5 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,8 @@ if (Dohp_BUILD_TESTS)
add_subdirectory (vec/tests)
add_subdirectory (fs/tests)
endif (Dohp_BUILD_TESTS)

if (Dohp_BUILD_TOOLS)
add_subdirectory (tools)
endif (Dohp_BUILD_TOOLS)

12 changes: 12 additions & 0 deletions src/tools/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Should only be included when Dohp_BUILD_TOOLS

set (Dohp_TOOLS_EXECS
dohpblock)

foreach (EXE ${Dohp_TOOLS_EXECS})
add_executable (${EXE} "${EXE}.c")
target_link_libraries (${EXE} dohp)
endforeach (EXE)

install (TARGETS ${Dohp_TOOLS_EXECS}
RUNTIME DESTINATION bin)
File renamed without changes.

0 comments on commit 52c9104

Please sign in to comment.