aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2024-10-14 12:47:03 -0400
committerGitHub <noreply@github.com>2024-10-14 12:47:03 -0400
commitca762e2fd21266e6ed7b800d135e386c2ec48861 (patch)
tree48978ff793f2a969df196cfa7700100e5c82a2f5 /src/CMakeLists.txt
parent20a4c8c1707055c6d53265213f2a2d6b834aa037 (diff)
parent26000fb8e6cc08c227d4463de60e28881179e5cb (diff)
downloadstasis-ca762e2fd21266e6ed7b800d135e386c2ec48861.tar.gz
Merge pull request #61 from jhunkeler/restructure-the-world
Restructure the world
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt47
1 files changed, 2 insertions, 45 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5c5bc6e..bfee276 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -2,49 +2,6 @@ include_directories(${CMAKE_BINARY_DIR}/include)
include_directories(${CMAKE_SOURCE_DIR}/include)
include_directories(${PROJECT_BINARY_DIR})
-add_library(stasis_core STATIC
- globals.c
- str.c
- strlist.c
- ini.c
- conda.c
- environment.c
- utils.c
- system.c
- download.c
- delivery_postprocess.c
- delivery_conda.c
- delivery_docker.c
- delivery_install.c
- delivery_artifactory.c
- delivery_test.c
- delivery_build.c
- delivery_show.c
- delivery_populate.c
- delivery_init.c
- delivery.c
- recipe.c
- relocation.c
- wheel.c
- copy.c
- artifactory.c
- template.c
- rules.c
- docker.c
- junitxml.c
- github.c
- template_func_proto.c
- envctl.c
- multiprocessing.c
-)
+add_subdirectory(lib)
+add_subdirectory(cli)
-add_executable(stasis
- stasis_main.c
-)
-target_link_libraries(stasis PRIVATE stasis_core)
-target_link_libraries(stasis PUBLIC LibXml2::LibXml2)
-add_executable(stasis_indexer
- stasis_indexer.c
-)
-target_link_libraries(stasis_indexer PRIVATE stasis_core)
-install(TARGETS stasis stasis_indexer RUNTIME)