Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
glfw
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pirvi-public
glfw
Commits
0ebe8ce4
Commit
0ebe8ce4
authored
9 years ago
by
Camilla Löwy
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup
parent
f52ce00b
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/CMakeLists.txt
+7
-11
7 additions, 11 deletions
tests/CMakeLists.txt
with
7 additions
and
11 deletions
tests/CMakeLists.txt
+
7
−
11
View file @
0ebe8ce4
...
...
@@ -30,22 +30,11 @@ add_executable(reopen reopen.c ${GLAD})
add_executable
(
cursor cursor.c
${
GLAD
}
)
add_executable
(
empty WIN32 MACOSX_BUNDLE empty.c
${
TINYCTHREAD
}
${
GLAD
}
)
set_target_properties
(
empty PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME
"Empty Event"
)
add_executable
(
sharing WIN32 MACOSX_BUNDLE sharing.c
${
GLAD
}
)
set_target_properties
(
sharing PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME
"Sharing"
)
add_executable
(
tearing WIN32 MACOSX_BUNDLE tearing.c
${
GETOPT
}
${
GLAD
}
)
set_target_properties
(
tearing PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME
"Tearing"
)
add_executable
(
threads WIN32 MACOSX_BUNDLE threads.c
${
TINYCTHREAD
}
${
GLAD
}
)
set_target_properties
(
threads PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME
"Threads"
)
add_executable
(
title WIN32 MACOSX_BUNDLE title.c
${
GLAD
}
)
set_target_properties
(
title PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME
"Title"
)
add_executable
(
windows WIN32 MACOSX_BUNDLE windows.c
${
GLAD
}
)
set_target_properties
(
windows PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME
"Windows"
)
target_link_libraries
(
empty
"
${
CMAKE_THREAD_LIBS_INIT
}
"
"
${
RT_LIBRARY
}
"
)
target_link_libraries
(
threads
"
${
CMAKE_THREAD_LIBS_INIT
}
"
"
${
RT_LIBRARY
}
"
)
...
...
@@ -64,6 +53,13 @@ if (MSVC)
endif
()
if
(
APPLE
)
set_target_properties
(
empty PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME
"Empty Event"
)
set_target_properties
(
sharing PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME
"Sharing"
)
set_target_properties
(
tearing PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME
"Tearing"
)
set_target_properties
(
threads PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME
"Threads"
)
set_target_properties
(
title PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME
"Title"
)
set_target_properties
(
windows PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME
"Windows"
)
set_target_properties
(
${
WINDOWS_BINARIES
}
${
CONSOLE_BINARIES
}
PROPERTIES
MACOSX_BUNDLE_SHORT_VERSION_STRING
${
GLFW_VERSION
}
MACOSX_BUNDLE_LONG_VERSION_STRING
${
GLFW_VERSION_FULL
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment