@@ -19,24 +19,24 @@ set(CMAKE_CXX_EXTENSIONS OFF)
1919
2020# Set the project name and language
2121project (
22- myproject
22+ constellation
2323 VERSION 0.0.2
2424 DESCRIPTION ""
25- HOMEPAGE_URL "%%myurl%% "
25+ HOMEPAGE_URL "https://github.com/Stormancer/constellation "
2626 LANGUAGES CXX C )
2727
2828include (cmake/PreventInSourceBuilds.cmake )
2929include (cmake/Emscripten.cmake )
3030include (ProjectOptions.cmake )
3131
3232
33- myproject_setup_options ()
33+ constellation_setup_options ()
3434
35- myproject_global_options ()
35+ constellation_global_options ()
3636include (Dependencies.cmake )
37- myproject_setup_dependencies ()
37+ constellation_setup_dependencies ()
3838
39- myproject_local_options ()
39+ constellation_local_options ()
4040
4141# don't know if this should be set globally from here or not...
4242set (CMAKE_CXX_VISIBILITY_PRESET hidden)
@@ -50,13 +50,13 @@ string(
5050 8
5151 GIT_SHORT_SHA)
5252
53- target_compile_features (myproject_options INTERFACE cxx_std_${CMAKE_CXX_STANDARD} )
53+ target_compile_features (constellation_options INTERFACE cxx_std_${CMAKE_CXX_STANDARD} )
5454
55- add_library (myproject::myproject_options ALIAS myproject_options )
56- add_library (myproject::myproject_warnings ALIAS myproject_warnings )
55+ add_library (constellation::constellation_options ALIAS constellation_options )
56+ add_library (constellation::constellation_warnings ALIAS constellation_warnings )
5757
58- #add_library(myproject::myproject_options INTERFACE IMPORTED)
59- #add_library(myproject::myproject_warnings INTERFACE IMPORTED)
58+ #add_library(constellation::constellation_options INTERFACE IMPORTED)
59+ #add_library(constellation::constellation_warnings INTERFACE IMPORTED)
6060
6161# configure files based on CMake configuration options
6262add_subdirectory (configured_files )
@@ -66,7 +66,7 @@ add_subdirectory(src)
6666
6767# Create unified web deployment directory (for WASM builds)
6868if (EMSCRIPTEN)
69- myproject_create_web_dist ()
69+ constellation_create_web_dist ()
7070endif ()
7171
7272# Don't even look at tests if we're not top level
@@ -83,9 +83,9 @@ if(BUILD_TESTING)
8383endif ()
8484
8585
86- if (myproject_BUILD_FUZZ_TESTS )
86+ if (constellation_BUILD_FUZZ_TESTS )
8787 message (AUTHOR_WARNING "Building Fuzz Tests, using fuzzing sanitizer https://www.llvm.org/docs/LibFuzzer.html" )
88- if (NOT myproject_ENABLE_SANITIZER_ADDRESS AND NOT myproject_ENABLE_SANITIZER_THREAD )
88+ if (NOT constellation_ENABLE_SANITIZER_ADDRESS AND NOT constellation_ENABLE_SANITIZER_THREAD )
8989 message (WARNING "You need asan or tsan enabled for meaningful fuzz testing" )
9090 endif ()
9191 add_subdirectory (fuzz_test )
@@ -111,11 +111,11 @@ include(cmake/PackageProject.cmake)
111111
112112# Add other targets that you want installed here, by default we just package the one executable
113113# we know we want to ship
114- myproject_package_project (
114+ constellation_package_project (
115115 TARGETS
116116 intro
117- myproject_options
118- myproject_warnings
117+ constellation_options
118+ constellation_warnings
119119 # FIXME: this does not work! CK
120120 # PRIVATE_DEPENDENCIES_CONFIGURED project_options project_warnings
121121)
0 commit comments