aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/paludis
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/environments/paludis')
-rw-r--r--paludis/environments/paludis/CMakeLists.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/paludis/environments/paludis/CMakeLists.txt b/paludis/environments/paludis/CMakeLists.txt
new file mode 100644
index 000000000..b56bacd88
--- /dev/null
+++ b/paludis/environments/paludis/CMakeLists.txt
@@ -0,0 +1,29 @@
+
+paludis_add_library(libpaludispaludisenvironment
+ OBJECT_LIBRARY
+ "${CMAKE_CURRENT_SOURCE_DIR}/bashable_conf.cc"
+ "${CMAKE_CURRENT_SOURCE_DIR}/extra_distribution_data.cc"
+ "${CMAKE_CURRENT_SOURCE_DIR}/keywords_conf.cc"
+ "${CMAKE_CURRENT_SOURCE_DIR}/licenses_conf.cc"
+ "${CMAKE_CURRENT_SOURCE_DIR}/mirrors_conf.cc"
+ "${CMAKE_CURRENT_SOURCE_DIR}/output_conf.cc"
+ "${CMAKE_CURRENT_SOURCE_DIR}/package_mask_conf.cc"
+ "${CMAKE_CURRENT_SOURCE_DIR}/paludis_config.cc"
+ "${CMAKE_CURRENT_SOURCE_DIR}/paludis_environment.cc"
+ "${CMAKE_CURRENT_SOURCE_DIR}/suggestions_conf.cc"
+ "${CMAKE_CURRENT_SOURCE_DIR}/use_conf.cc"
+ "${CMAKE_CURRENT_SOURCE_DIR}/world.cc"
+ "${CMAKE_CURRENT_SOURCE_DIR}/registration.cc")
+target_compile_definitions(libpaludispaludisenvironment
+ PRIVATE
+ -DSHAREDIR="${CMAKE_INSTALL_FULL_DATAROOTDIR}")
+add_dependencies(libpaludispaludisenvironment libpaludisutil_SE)
+
+paludis_add_test(paludis_environment GTEST)
+paludis_add_test(world GTEST)
+
+install(FILES
+ "${CMAKE_CURRENT_SOURCE_DIR}/default_output.conf"
+ DESTINATION
+ "${CMAKE_INSTALL_FULL_DATAROOTDIR}/paludis/environments/paludis")
+